From: Axel Lin Date: Thu, 29 Aug 2013 02:05:06 +0000 (+0800) Subject: pinctrl: pinconf-generic: Remove ti prefix in dev_err messages X-Git-Tag: firefly_0821_release~3680^2~36^2~61^2~6 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=bede3529a47c8f7667a6bdd171a9548ea91a9af7;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: Linus Walleij (cherry picked from commit acf564a8f325566628a4ee2d9403cf1688cd0796) Signed-off-by: Mark Brown --- diff --git a/drivers/pinctrl/pinconf-generic.c b/drivers/pinctrl/pinconf-generic.c index d9536caa9c41..94d66c60d9fc 100644 --- a/drivers/pinctrl/pinconf-generic.c +++ b/drivers/pinctrl/pinconf-generic.c @@ -255,8 +255,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; } @@ -273,7 +272,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;