summaryrefslogtreecommitdiff
path: root/drivers/regulator
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2014-09-18 17:48:48 +0400
committerMark Brown <broonie@kernel.org>2014-09-18 22:01:07 +0400
commitfe230531b3f94f33e5a4c0b201b651188c6cc132 (patch)
tree8bb1e83457d5e0875f325525683e9518069486e2 /drivers/regulator
parent6f34163c5474326dd70239045f1957fe369460dd (diff)
downloadlinux-fe230531b3f94f33e5a4c0b201b651188c6cc132.tar.xz
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>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/fan53555.c3
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,
ret = fan53555_voltages_setup_silergy(di);
break;
default:
- dev_err(di->dev,
- "vendor %d not supported!\n", di->chip_id);
+ dev_err(di->dev, "vendor %d not supported!\n", di->vendor);
return -EINVAL;
}