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

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Sun Sep 24 14:28:53 PDT 2017


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(-)

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




More information about the barebox mailing list