]> asedeno.scripts.mit.edu Git - linux.git/commit
gpio: rename gpio_set_drive_single_ended() to gpio_set_config()
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 7 Feb 2019 16:28:56 +0000 (17:28 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 13 Feb 2019 08:08:35 +0000 (09:08 +0100)
commit71479789851bdd9d56cd9e82892b0a3bee0a4c2a
tree24d14b89fee6f7bf99e2b708c86c1828baae32a7
parentede033e1e863c36729de25b57145fff287415830
gpio: rename gpio_set_drive_single_ended() to gpio_set_config()

This commit simply renames gpio_set_drive_single_ended() to
gpio_set_config(), as the function is not specific to setting the GPIO
drive type, and will be used for other purposes in followup commits.

In addition, it moves the function above gpiod_direction_input(), as
it will be used from gpiod_direction_input().

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c