]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Tue, 6 Nov 2012 07:47:08 +0000 (08:47 +0100)
commit2476c80cb7b2f1cf8f31ca83e712e0bace491d1b
tree2c5bed2180a5baf606e64e01ae75ecd3e60678bf
parente90412c4ed7efa6e1cfeb43e892a35bcc6e44a4e
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