pinctrl: pinconf-generic: Remove ti prefix in dev_err messages
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.
Signed-off-by Axel Lin <[email protected]>
--- drivers/pinctrl/pinconf-generic.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
drivers/pinctrl/pinconf-generic.c +2 -3
@@ -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
Quoted 4 lines · Axel Lin
It does not make sense to show ti prefix in
pinconf_generic_dt_subnode_to_map()dev_errmessages.Signed-off-by Axel Lin <[email protected]>
Patch applied, probably a copy/paste bug.
Yours,
Linus Walleij