gpiolib: remove duplicate pin range code
commite93fa3f24353e45b189bae656ba000d0533777a3
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 6 Nov 2012 14:03:47 +0000 (6 15:03 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 11 Nov 2012 18:06:06 +0000 (11 19:06 +0100)
treec3139da5fd10fe3b68dbb97a59c919e2da1d9baf
parent167c1af9443757bb9d27ceff8ba4304302cb0651
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