gpiolib: rename gpiod_set_array to gpiod_set_array_value
authorRojhalat Ibrahim <imr@rtschenk.de>
Wed, 13 May 2015 09:04:56 +0000 (11:04 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 1 Jun 2015 13:10:09 +0000 (15:10 +0200)
There have been concerns that the function names gpiod_set_array() and
gpiod_get_array() might be confusing to users. One might expect
gpiod_get_array() to return array values, while it is actually the array
counterpart of gpiod_get(). To be consistent with the single descriptor API
we could rename gpiod_set_array() to gpiod_set_array_value(). This makes
some function names a bit lengthy: gpiod_set_raw_array_value_cansleep().

Signed-off-by: Rojhalat Ibrahim <imr@rtschenk.de>
Acked-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c
drivers/net/phy/mdio-mux-gpio.c
drivers/tty/serial/serial_mctrl_gpio.c
include/linux/gpio/consumer.h

Simple merge
Simple merge
Simple merge