diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-09-18 09:48:48 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-09-18 14:01:07 -0400 |
commit | fe230531b3f94f33e5a4c0b201b651188c6cc132 (patch) | |
tree | 8bb1e83457d5e0875f325525683e9518069486e2 | |
parent | 6f34163c5474326dd70239045f1957fe369460dd (diff) |
regulator: fan53555: Fixup report wrong vendor message
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | drivers/regulator/fan53555.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/regulator/fan53555.c b/drivers/regulator/fan53555.c index 6ca6e2651168..0168106b2cf7 100644 --- a/drivers/regulator/fan53555.c +++ b/drivers/regulator/fan53555.c | |||
@@ -267,8 +267,7 @@ static int fan53555_device_setup(struct fan53555_device_info *di, | |||
267 | ret = fan53555_voltages_setup_silergy(di); | 267 | ret = fan53555_voltages_setup_silergy(di); |
268 | break; | 268 | break; |
269 | default: | 269 | default: |
270 | dev_err(di->dev, | 270 | dev_err(di->dev, "vendor %d not supported!\n", di->vendor); |
271 | "vendor %d not supported!\n", di->chip_id); | ||
272 | return -EINVAL; | 271 | return -EINVAL; |
273 | } | 272 | } |
274 | 273 | ||