pinctrl: pinconf-generic: Remove ti prefix in dev_err messages
authorAxel Lin <axel.lin@ingics.com>
Thu, 29 Aug 2013 02:05:06 +0000 (10:05 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 29 Aug 2013 07:48:13 +0000 (09:48 +0200)
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>
drivers/pinctrl/pinconf-generic.c

index 2c62225bafabfaeb904762dedd65b6e8c69e7cbe..55a0ebe830ac5b19d7986023bd83463a100737e2 100644 (file)
@@ -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;