public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] pinctrl: pinctrl-abx500: fix issue when no pdata
       [not found] <516EBB9E.4080601@st.com>
@ 2013-04-18  7:15 ` Patrice CHOTARD
  2013-04-18  8:29   ` Linus Walleij
  0 siblings, 1 reply; 2+ messages in thread
From: Patrice CHOTARD @ 2013-04-18  7:15 UTC (permalink / raw)
  To: linux-kernel@vger.kernel.org, Linus Walleij

Fix an issue when probing pinctrl-abx500 with no
platform data

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
---
 drivers/pinctrl/pinctrl-abx500.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/pinctrl/pinctrl-abx500.c
b/drivers/pinctrl/pinctrl-abx500.c
index 0cf3fa4..04b1408 100644
--- a/drivers/pinctrl/pinctrl-abx500.c
+++ b/drivers/pinctrl/pinctrl-abx500.c
@@ -880,7 +880,6 @@ static int abx500_gpio_probe(struct platform_device
*pdev)
 	pct->parent = dev_get_drvdata(pdev->dev.parent);
 	pct->chip = abx500gpio_chip;
 	pct->chip.dev = &pdev->dev;
-	pct->chip.base = pdata->gpio_base;
 	pct->chip.base = (np) ? -1 : pdata->gpio_base;

 	/* initialize the lock */
-- 1.7.10

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

* Re: [PATCH] pinctrl: pinctrl-abx500: fix issue when no pdata
  2013-04-18  7:15 ` [PATCH] pinctrl: pinctrl-abx500: fix issue when no pdata Patrice CHOTARD
@ 2013-04-18  8:29   ` Linus Walleij
  0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2013-04-18  8:29 UTC (permalink / raw)
  To: Patrice CHOTARD; +Cc: linux-kernel@vger.kernel.org

On Thu, Apr 18, 2013 at 9:15 AM, Patrice CHOTARD <patrice.chotard@st.com> wrote:

> Fix an issue when probing pinctrl-abx500 with no
> platform data
>
> Signed-off-by: Patrice Chotard <patrice.chotard@st.com>

Patch applied, thanks!

Linus Walleij

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

end of thread, other threads:[~2013-04-18  8:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <516EBB9E.4080601@st.com>
2013-04-18  7:15 ` [PATCH] pinctrl: pinctrl-abx500: fix issue when no pdata Patrice CHOTARD
2013-04-18  8:29   ` Linus Walleij

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