Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit acf564a8 authored by Axel Lin's avatar Axel Lin Committed by Linus Walleij
Browse files

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: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 6ad30ce0
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -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;