diff options
Diffstat (limited to 'drivers/pinctrl/pinctrl-u300.c')
-rw-r--r-- | drivers/pinctrl/pinctrl-u300.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pinctrl/pinctrl-u300.c b/drivers/pinctrl/pinctrl-u300.c index 6cd697a079f9..5f43f9ae36d3 100644 --- a/drivers/pinctrl/pinctrl-u300.c +++ b/drivers/pinctrl/pinctrl-u300.c | |||
@@ -1175,8 +1175,6 @@ static int __devexit u300_pmx_remove(struct platform_device *pdev) | |||
1175 | struct u300_pmx *upmx = platform_get_drvdata(pdev); | 1175 | struct u300_pmx *upmx = platform_get_drvdata(pdev); |
1176 | int i; | 1176 | int i; |
1177 | 1177 | ||
1178 | for (i = 0; i < ARRAY_SIZE(u300_gpio_ranges); i++) | ||
1179 | pinctrl_remove_gpio_range(upmx->pctl, &u300_gpio_ranges[i]); | ||
1180 | pinctrl_unregister(upmx->pctl); | 1178 | pinctrl_unregister(upmx->pctl); |
1181 | iounmap(upmx->virtbase); | 1179 | iounmap(upmx->virtbase); |
1182 | release_mem_region(upmx->phybase, upmx->physize); | 1180 | release_mem_region(upmx->phybase, upmx->physize); |