gpiolib: reorder functions
gpio_request_one() and gpio_request_array() make use of
gpio_direction_*, so it is natural to define the former them further low
in the file. It doesn't matter for the compiler here as all functions
are declared in a header, but the next commit adds a few more functions
and it benefits from this reordering by not needing forward
declarations.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 7f84cd8 commit 4795bcd85d0a1281609e90b8eb26bef9bd82545f
@Uwe Kleine-König Uwe Kleine-König authored on 27 Jan 2020
Sascha Hauer committed on 27 Jan 2020
Showing 1 changed file
View
drivers/gpio/gpiolib.c