From bede3529a47c8f7667a6bdd171a9548ea91a9af7 Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Thu, 29 Aug 2013 10:05:06 +0800 Subject: [PATCH] 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 --- drivers/pinctrl/pinconf-generic.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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; -- 2.34.1