From: Axel Lin Date: Thu, 18 Sep 2014 13:48:48 +0000 (+0800) Subject: regulator: fan53555: Fixup report wrong vendor message X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fe230531b3f94f33e5a4c0b201b651188c6cc132;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git regulator: fan53555: Fixup report wrong vendor message Signed-off-by: Axel Lin Reviewed-by: Heiko Stuebner Signed-off-by: Mark Brown --- 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; }