]> git.dujemihanovic.xyz Git - u-boot.git/commit
gpio: xilinx: Return 0 from xilinx_gpio_set_value
authorMichal Simek <michal.simek@xilinx.com>
Mon, 6 Aug 2018 05:42:40 +0000 (07:42 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 7 Aug 2018 09:03:43 +0000 (11:03 +0200)
commitac7f061398ba48904e2900f1f9df93f35f5c88c8
treed0f6ab61b5e959ceae9971ada825fd24db9d1916
parentc714aeaec19559d1b05cbb7a501000c3904b1f87
gpio: xilinx: Return 0 from xilinx_gpio_set_value

.set_value functions have no specified return value and gpio_uclass is
not working with it too. But this patch is returning 0 to be in sync
with others DM gpio drivers.

Reported-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
drivers/gpio/xilinx_gpio.c