regulator: fan53555: Fixup report wrong vendor message
authorAxel Lin <axel.lin@ingics.com>
Thu, 18 Sep 2014 13:48:48 +0000 (21:48 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 18 Sep 2014 18:01:07 +0000 (11:01 -0700)
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/fan53555.c

index 6ca6e26511683acf340aaf3b22f52236e8d76a1d..0168106b2cf7a4c60f550cc8889c8b7a83af6965 100644 (file)
@@ -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;
        }