linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] pinctrl: core: Fix build error due to devm_pinctrl_dev_match()
@ 2016-04-20 17:17 Laxman Dewangan
  2016-04-20 22:00 ` Linus Walleij
  0 siblings, 1 reply; 2+ messages in thread
From: Laxman Dewangan @ 2016-04-20 17:17 UTC (permalink / raw)
  To: linus.walleij; +Cc: linux-gpio, linux-kernel, Laxman Dewangan

The closing bracket missing from final patch which causes the
build break. Correcting the function.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>

---
This may be happend by mistake when applyign the pathces for git hub from
test branch to devm_pinctrl branch.
This is happening on devel branch of pinctrl subsystem.
---
 drivers/pinctrl/core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pinctrl/core.c b/drivers/pinctrl/core.c
index 21df52e..98d2a1b 100644
--- a/drivers/pinctrl/core.c
+++ b/drivers/pinctrl/core.c
@@ -1883,7 +1883,7 @@ static int devm_pinctrl_dev_match(struct device *dev, void *res, void *data)
 {
 	struct pctldev **r = res;
 
-	if (WARN_ON(!r || !*r)
+	if (WARN_ON(!r || !*r))
 		return 0;
 
 	return *r == data;
-- 
2.1.4

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

* Re: [PATCH 1/1] pinctrl: core: Fix build error due to devm_pinctrl_dev_match()
  2016-04-20 17:17 [PATCH 1/1] pinctrl: core: Fix build error due to devm_pinctrl_dev_match() Laxman Dewangan
@ 2016-04-20 22:00 ` Linus Walleij
  0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2016-04-20 22:00 UTC (permalink / raw)
  To: Laxman Dewangan; +Cc: linux-gpio, linux-kernel

On Wed, Apr 20, 2016 at 7:17 PM, Laxman Dewangan <ldewangan@nvidia.com> wrote:

> The closing bracket missing from final patch which causes the
> build break. Correcting the function.
>
> Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>

Squashed this into the patch and pushed to build again.

Yours,
Linus Walleij

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

end of thread, other threads:[~2016-04-20 22:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-20 17:17 [PATCH 1/1] pinctrl: core: Fix build error due to devm_pinctrl_dev_match() Laxman Dewangan
2016-04-20 22:00 ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).