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>
This commit is contained in:
parent
6ad30ce046
commit
acf564a8f3
@ -256,8 +256,7 @@ int pinconf_generic_dt_subnode_to_map(struct pinctrl_dev *pctldev,
|
|||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
/* EINVAL=missing, which is fine since it's optional */
|
/* EINVAL=missing, which is fine since it's optional */
|
||||||
if (ret != -EINVAL)
|
if (ret != -EINVAL)
|
||||||
dev_err(dev,
|
dev_err(dev, "could not parse property function\n");
|
||||||
"could not parse property ti,function\n");
|
|
||||||
function = NULL;
|
function = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -274,7 +273,7 @@ int pinconf_generic_dt_subnode_to_map(struct pinctrl_dev *pctldev,
|
|||||||
reserve++;
|
reserve++;
|
||||||
ret = of_property_count_strings(np, "pins");
|
ret = of_property_count_strings(np, "pins");
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
dev_err(dev, "could not parse property ti,pins\n");
|
dev_err(dev, "could not parse property pins\n");
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
reserve *= ret;
|
reserve *= ret;
|
||||||
|
Loading…
Reference in New Issue
Block a user