]> git.baikalelectronics.ru Git - kernel.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)
commit503fda92f3bd5841d63ba8224709595786ab1c65
tree24d14b89fee6f7bf99e2b708c86c1828baae32a7
parent7e46468d676bb75425e3543e76cf8b7a211c86fd
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