summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinconf-generic.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2013-08-29 10:05:06 +0800
committerLinus Walleij <linus.walleij@linaro.org>2013-08-29 09:48:13 +0200
commitacf564a8f325566628a4ee2d9403cf1688cd0796 (patch)
tree9d4629359cdda6256bdcc34b54c6460a588a0c47 /drivers/pinctrl/pinconf-generic.c
parent6ad30ce046aefbdc3848232c665a728860d7bb68 (diff)
downloadlinux-acf564a8f325566628a4ee2d9403cf1688cd0796.tar.bz2
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 <axel.lin@ingics.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinconf-generic.c')
-rw-r--r--drivers/pinctrl/pinconf-generic.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/pinctrl/pinconf-generic.c b/drivers/pinctrl/pinconf-generic.c
index 2c62225bafab..55a0ebe830ac 100644
--- a/drivers/pinctrl/pinconf-generic.c
+++ b/drivers/pinctrl/pinconf-generic.c
@@ -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;