Skip to contentSkip to conversation

pinctrl: pinconf-generic: Remove ti prefix in dev_err messages

PATCH In review Axel Lin 2 participants 2 messages Aug 29, 2013 Pin control

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 pinctrl: pinconf-generic: Remove ti prefix in dev_err messages

It does not make sense to show ti prefix in pinconf_generic_dt_subnode_to_map() dev_err messages.

---
 drivers/pinctrl/pinconf-generic.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
drivers/pinctrl/pinconf-generic.c +2 -3
index 2c62225..55a0ebe 100644
@@ -256,8 +256,7 @@ int pinconf_generic_dt_subnode_to_map(struct pinctrl_dev *pctldev,
 	if (ret < 0) {
 		/* EINVAL=missing, which is fine since it's optional */
 		if (ret != -EINVAL)
-			dev_err(dev,
-				"could not parse property ti,function\n");
+			dev_err(dev, "could not parse property function\n");
 		function = NULL;
 	}
 
@@ -274,7 +273,7 @@ int pinconf_generic_dt_subnode_to_map(struct pinctrl_dev *pctldev,
 		reserve++;
 	ret = of_property_count_strings(np, "pins");
 	if (ret < 0) {
-		dev_err(dev, "could not parse property ti,pins\n");
+		dev_err(dev, "could not parse property pins\n");
 		goto exit;
 	}
 	reserve *= ret;
Signature · 1 line
1.8.1.2
#1 lore raw
Quoted 4 lines · Axel Lin

It does not make sense to show ti prefix in pinconf_generic_dt_subnode_to_map() dev_err messages.

Patch applied, probably a copy/paste bug.

Yours,
Linus Walleij