]> git.karo-electronics.de Git - karo-tx-linux.git/commit
gpiolib: remove duplicate pin range code
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 6 Nov 2012 14:03:47 +0000 (15:03 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 8 Nov 2012 12:53:12 +0000 (13:53 +0100)
commit5c998ab82366150227156733c260569988122bbe
tree5e602e9119a525bd8e2e246abc61ae600afaa45b
parentee9b43537b18bf7bb643b735cba8f0f1aeb969a2
gpiolib: remove duplicate pin range code

Commit 69e1601bca88809dc118abd1becb02c15a02ec71
"gpiolib: provide provision to register pin ranges"

Introduced both of_gpiochip_remove_pin_range() and
gpiochip_remove_pin_ranges(). But the contents are exactly
the same so remove the OF one and rely on the range deletion
in the core.

Reviewed-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib-of.c