public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] pinctrl: pinconf-generic: Remove ti prefix in dev_err messages
@ 2013-08-29  2:05 Axel Lin
  2013-08-29  7:48 ` Linus Walleij
  0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2013-08-29  2:05 UTC (permalink / raw)
  To: Linus Walleij; +Cc: Laxman Dewangan, linux-kernel

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>
---
 drivers/pinctrl/pinconf-generic.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/pinctrl/pinconf-generic.c b/drivers/pinctrl/pinconf-generic.c
index 2c62225..55a0ebe 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;
-- 
1.8.1.2




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] pinctrl: pinconf-generic: Remove ti prefix in dev_err messages
  2013-08-29  2:05 [PATCH] pinctrl: pinconf-generic: Remove ti prefix in dev_err messages Axel Lin
@ 2013-08-29  7:48 ` Linus Walleij
  0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2013-08-29  7:48 UTC (permalink / raw)
  To: Axel Lin; +Cc: Laxman Dewangan, linux-kernel@vger.kernel.org

On Thu, Aug 29, 2013 at 4:05 AM, Axel Lin <axel.lin@ingics.com> wrote:

> 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>

Patch applied, probably a copy/paste bug.

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-08-29  7:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-29  2:05 [PATCH] pinctrl: pinconf-generic: Remove ti prefix in dev_err messages Axel Lin
2013-08-29  7:48 ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox