Revert "pinctrl: remove pinctrl_remove_gpio_range"
authorViresh Kumar <viresh.kumar@linaro.org>
Sat, 27 Oct 2012 09:51:35 +0000 (15:21 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 11 Nov 2012 18:05:59 +0000 (19:05 +0100)
commit7e10ee68f8ccc62e0934ff02f39ce541f3879844
treed83e89f5d73be6f9b90c55faf526a064699d0b02
parentafa538c2bf00cf6cd28fc6b5fcea1a75894228a0
Revert "pinctrl: remove pinctrl_remove_gpio_range"

This reverts earlier commit which removed
pinctrl_remove_gpio_range(), because at that time there
weren't any more users of that routine. It was removed as the
removal of ranges was done in unregister of pinctrl.

But as we are now registering stuff from gpiolib, we may
remove and insert a gpio module multiple times. So, we
need this routine again.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/core.c
include/linux/pinctrl/pinctrl.h