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>
diff --git a/drivers/regulator/fan53555.c b/drivers/regulator/fan53555.c
index 6ca6e26..0168106 100644
--- a/drivers/regulator/fan53555.c
+++ b/drivers/regulator/fan53555.c
@@ -267,8 +267,7 @@
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;
}