gpio: make gpiochip_get_desc() gpiolib-private
authorAlexandre Courbot <acourbot@nvidia.com>
Tue, 22 Jul 2014 07:17:41 +0000 (16:17 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 23 Jul 2014 15:41:12 +0000 (17:41 +0200)
commit1bd6b601fe196b6fbce2c93536ce0f3f53577cec
tree5e20cf3705cbb6f311a4b26795cbd7e4c8a14f11
parent14141a9352d007434ff61df1e16a2bcaf3119307
gpio: make gpiochip_get_desc() gpiolib-private

As GPIO descriptors are not going to remain unique anymore, having this
function public is not safe. Restrain its use to gpiolib since we have
no user outside of it.

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