Re: [PATCH 1/2] regulator: fan53555: Fixup report wrong vendor message

From: Heiko Stübner
Date: Thu Sep 18 2014 - 10:20:53 EST


Am Donnerstag, 18. September 2014, 21:48:48 schrieb Axel Lin:
> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxxx>

thanks for catching this silly mistake

Reviewed-by: Heiko Stuebner <heiko@xxxxxxxxx>


> ---
> drivers/regulator/fan53555.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/regulator/fan53555.c b/drivers/regulator/fan53555.c
> index f2f5535..70b31bf 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;
> }

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/