Skip to content

Commit 3dca3d5

Browse files
Bartosz Golaszewskiarndb
authored andcommitted
ARM: s3c/gpio: complete the conversion to new GPIO value setters
Commit fb52f32 ("ARM: s3c/gpio: use new line value setter callbacks") correctly changed the assignment of the callback but missed the check one liner higher. Change it now too to using the recommended callback as the legacy one is going away soon. Fixes: fb52f32 ("ARM: s3c/gpio: use new line value setter callbacks") Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1 parent 0018c39 commit 3dca3d5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/arm/mach-s3c/gpio-samsung.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ static void __init samsung_gpiolib_add(struct samsung_gpio_chip *chip)
516516
gc->direction_input = samsung_gpiolib_2bit_input;
517517
if (!gc->direction_output)
518518
gc->direction_output = samsung_gpiolib_2bit_output;
519-
if (!gc->set)
519+
if (!gc->set_rv)
520520
gc->set_rv = samsung_gpiolib_set;
521521
if (!gc->get)
522522
gc->get = samsung_gpiolib_get;

0 commit comments

Comments
 (0)