Re: [PATCH] pinctrl: mxs: fix error message to mention right property name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Sep 24, 2017 at 11:28:53PM +0200, Uwe Kleine-König wrote:
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>
> ---
>  drivers/pinctrl/pinctrl-mxs.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Applied, thanks

Sascha

> diff --git a/drivers/pinctrl/pinctrl-mxs.c b/drivers/pinctrl/pinctrl-mxs.c
> index fa1176fe1bd6..479c31a426b9 100644
> --- a/drivers/pinctrl/pinctrl-mxs.c
> +++ b/drivers/pinctrl/pinctrl-mxs.c
> @@ -50,11 +50,11 @@ static int mxs_pinctrl_set_state(struct pinctrl_device *pdev, struct device_node
>  	list = of_get_property(np, "fsl,pinmux-ids", &size);
>  	if (!list)
>  		return -EINVAL;
>  
>  	if (!size || size % 4) {
> -		dev_err(iomux->pinctrl.dev, "Invalid fsl,pins property in %s\n",
> +		dev_err(iomux->pinctrl.dev, "Invalid fsl,pinmux-ids property in %s\n",
>  				np->full_name);
>  		return -EINVAL;
>  	}
>  
>  	npins = size / 4;
> -- 
> 2.11.0
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@xxxxxxxxxxxxxxxxxxx
> http://lists.infradead.org/mailman/listinfo/barebox

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux