diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-08-28 22:05:06 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-08-29 03:48:13 -0400 |
commit | acf564a8f325566628a4ee2d9403cf1688cd0796 (patch) | |
tree | 9d4629359cdda6256bdcc34b54c6460a588a0c47 /drivers/pinctrl/pinconf-generic.c | |
parent | 6ad30ce046aefbdc3848232c665a728860d7bb68 (diff) |
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.c | 5 |
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, | |||
256 | if (ret < 0) { | 256 | if (ret < 0) { |
257 | /* EINVAL=missing, which is fine since it's optional */ | 257 | /* EINVAL=missing, which is fine since it's optional */ |
258 | if (ret != -EINVAL) | 258 | if (ret != -EINVAL) |
259 | dev_err(dev, | 259 | dev_err(dev, "could not parse property function\n"); |
260 | "could not parse property ti,function\n"); | ||
261 | function = NULL; | 260 | function = NULL; |
262 | } | 261 | } |
263 | 262 | ||
@@ -274,7 +273,7 @@ int pinconf_generic_dt_subnode_to_map(struct pinctrl_dev *pctldev, | |||
274 | reserve++; | 273 | reserve++; |
275 | ret = of_property_count_strings(np, "pins"); | 274 | ret = of_property_count_strings(np, "pins"); |
276 | if (ret < 0) { | 275 | if (ret < 0) { |
277 | dev_err(dev, "could not parse property ti,pins\n"); | 276 | dev_err(dev, "could not parse property pins\n"); |
278 | goto exit; | 277 | goto exit; |
279 | } | 278 | } |
280 | reserve *= ret; | 279 | reserve *= ret; |