gpiolib: of: remove gpio_to_desc() usage
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 22 Apr 2014 12:38:21 +0000 (14:38 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 28 Apr 2014 19:35:09 +0000 (12:35 -0700)
commitccd9726e05f0b181016db1adcff633cf9baf5c4e
tree5e262d1ac506cd76b96cd19a067e12e4b5e5bda8
parentef7de2625fdd40c2d26a10bf87cc1626017adc18
gpiolib: of: remove gpio_to_desc() usage

As demonstrated by commit
390d82e312c56b75407a3606cbcde8c4bc7f10ae
"gpiolib: ACPI: remove gpio_to_desc() usage"

gpio_to_desc() must die. Replace one of its usage by the
newly-introduced gpiochip_get_desc() function.

Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib-of.c