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

Sascha Hauer s.hauer at pengutronix.de
Mon Sep 25 23:50:38 PDT 2017


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 at pengutronix.de>
> ---
>  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 at lists.infradead.org
> 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 |



More information about the barebox mailing list