lkml.org 
[lkml]   [2014]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 1/2] regulator: fan53555: Fixup report wrong vendor message
Date
Am Donnerstag, 18. September 2014, 21:48:48 schrieb Axel Lin:
> Signed-off-by: Axel Lin <axel.lin@ingics.com>

thanks for catching this silly mistake

Reviewed-by: Heiko Stuebner <heiko@sntech.de>


> ---
> 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;
> }



\
 
 \ /
  Last update: 2014-09-18 17:01    [W:0.090 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site