* [PATCH] pinctrl: mxs: fix error message to mention right property name
@ 2017-09-24 21:28 Uwe Kleine-König
2017-09-26 6:50 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Uwe Kleine-König @ 2017-09-24 21:28 UTC (permalink / raw)
To: barebox
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
drivers/pinctrl/pinctrl-mxs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] pinctrl: mxs: fix error message to mention right property name
2017-09-24 21:28 [PATCH] pinctrl: mxs: fix error message to mention right property name Uwe Kleine-König
@ 2017-09-26 6:50 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2017-09-26 6:50 UTC (permalink / raw)
To: Uwe Kleine-König; +Cc: barebox
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@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@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 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-09-26 6:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-24 21:28 [PATCH] pinctrl: mxs: fix error message to mention right property name Uwe Kleine-König
2017-09-26 6:50 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox