pinctrl: adi2: Remove duplicate gpiochip_remove_pin_ranges
authorPramod Gurav <pramod.gurav@smartplayin.com>
Sat, 30 Aug 2014 17:35:13 +0000 (23:05 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 5 Sep 2014 08:33:51 +0000 (10:33 +0200)
commit1f81bdc7a08e7aee271a4969f451207fd7946894
treed8c5327e9b6e0053adc2ea7edb957948486098c4
parent9e3a979f03b37b8502da6cfce8581e28375cf96f
pinctrl: adi2: Remove duplicate gpiochip_remove_pin_ranges

This patch removes call to gpiochip_remove_pin_ranges() from
platform_driver remove function as it will anway be called
by gpiochip_remove().

CC: Sonic Zhang <sonic.zhang@analog.com>
CC: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Pramod Gurav <pramod.gurav@smartplayin.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-adi2.c