]> git.baikalelectronics.ru Git - uboot.git/commit
sunxi: gpio: Return void from setter functions
authorSamuel Holland <samuel@sholland.org>
Thu, 21 Oct 2021 04:52:54 +0000 (23:52 -0500)
committerAndre Przywara <andre.przywara@arm.com>
Sun, 30 Jan 2022 01:04:30 +0000 (01:04 +0000)
commit4bbfa9564405cbfb30fddaa3468f76945dac52d1
treedf48782c2c4690ad9d4b1c742bb8dcac8a8ba7c5
parent9b0fc564597ab22a18a0426bc5b9617e43394bb0
sunxi: gpio: Return void from setter functions

The return values of these functions are always zero, and they are
never checked. Since they are not needed, remove them.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
arch/arm/include/asm/arch-sunxi/gpio.h
arch/arm/mach-sunxi/pinmux.c