Message ID | 1343271522-3060-1-git-send-email-nobuhiro.iwamatsu.yj@renesas.com (mailing list archive) |
---|---|
State | Rejected |
Headers | show |
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.
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);
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(-)