* [PATCH] sh: pfc: remove pinctrl_remove_gpio_range function
@ 2012-07-26 2:58 Nobuhiro Iwamatsu
2012-07-26 5:15 ` Paul Mundt
2012-07-26 5:39 ` Nobuhiro Iwamatsu
0 siblings, 2 replies; 3+ messages in thread
From: Nobuhiro Iwamatsu @ 2012-07-26 2:58 UTC (permalink / raw)
To: linux-sh
The pinctrl_remove_gpio_range was removed form pinctrl framework.
And the ranges of GPIO will be automatically removed when the pinctrl
driver is unregistered.
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
---
drivers/sh/pfc/pinctrl.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/sh/pfc/pinctrl.c b/drivers/sh/pfc/pinctrl.c
index 0802b6c..10a56d7 100644
--- a/drivers/sh/pfc/pinctrl.c
+++ b/drivers/sh/pfc/pinctrl.c
@@ -481,7 +481,6 @@ static int __devexit sh_pfc_pinctrl_remove(struct platform_device *pdev)
{
struct sh_pfc_pinctrl *pmx = platform_get_drvdata(pdev);
- pinctrl_remove_gpio_range(pmx->pctl, &sh_pfc_gpio_range);
pinctrl_unregister(pmx->pctl);
platform_set_drvdata(pdev, NULL);
--
1.7.10
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] sh: pfc: remove pinctrl_remove_gpio_range function
2012-07-26 2:58 [PATCH] sh: pfc: remove pinctrl_remove_gpio_range function Nobuhiro Iwamatsu
@ 2012-07-26 5:15 ` Paul Mundt
2012-07-26 5:39 ` Nobuhiro Iwamatsu
1 sibling, 0 replies; 3+ messages in thread
From: Paul Mundt @ 2012-07-26 5:15 UTC (permalink / raw)
To: linux-sh
On Thu, Jul 26, 2012 at 11:58:42AM +0900, Nobuhiro Iwamatsu wrote:
> The pinctrl_remove_gpio_range was removed form pinctrl framework.
> And the ranges of GPIO will be automatically removed when the pinctrl
> driver is unregistered.
On Thu, Jul 26, 2012 at 12:14:11PM +0900, Nobuhiro Iwamatsu wrote:
> pfc is never used, remove it.
Both already fixed in my tree.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] sh: pfc: remove pinctrl_remove_gpio_range function
2012-07-26 2:58 [PATCH] sh: pfc: remove pinctrl_remove_gpio_range function Nobuhiro Iwamatsu
2012-07-26 5:15 ` Paul Mundt
@ 2012-07-26 5:39 ` Nobuhiro Iwamatsu
1 sibling, 0 replies; 3+ messages in thread
From: Nobuhiro Iwamatsu @ 2012-07-26 5:39 UTC (permalink / raw)
To: linux-sh
On Thu, Jul 26, 2012 at 2:15 PM, Paul Mundt <lethal@linux-sh.org> wrote:
> On Thu, Jul 26, 2012 at 11:58:42AM +0900, Nobuhiro Iwamatsu wrote:
>> The pinctrl_remove_gpio_range was removed form pinctrl framework.
>> And the ranges of GPIO will be automatically removed when the pinctrl
>> driver is unregistered.
>
> On Thu, Jul 26, 2012 at 12:14:11PM +0900, Nobuhiro Iwamatsu wrote:
>> pfc is never used, remove it.
>
> Both already fixed in my tree.
OK, thanks.
--
Nobuhiro Iwamatsu
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-07-26 5:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-26 2:58 [PATCH] sh: pfc: remove pinctrl_remove_gpio_range function Nobuhiro Iwamatsu
2012-07-26 5:15 ` Paul Mundt
2012-07-26 5:39 ` Nobuhiro Iwamatsu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox