]> git.sur5r.net Git - u-boot/commit
sunxi: axp: Change axp_gpio_foo prototypes to match gpio uclass ops
authorHans de Goede <hdegoede@redhat.com>
Wed, 22 Apr 2015 14:27:01 +0000 (16:27 +0200)
committerHans de Goede <hdegoede@redhat.com>
Mon, 4 May 2015 14:51:53 +0000 (16:51 +0200)
commit12ce15538a4512834138ee4d0ded416286ec46ad
tree1d705a27a97fb5b9ac671e03384024fae521efbc
parent746c087bd3538dc2c2b744e44815a3d5ce94e3bc
sunxi: axp: Change axp_gpio_foo prototypes to match gpio uclass ops

Change the axp_gpio_foo function prototypes to match the gpio uclass op
prototypes, this is a preparation patch for moving the axp gpio code to
a separate driver-model gpio driver.

Note that the ugly calls with a NULL udev pointer in drivers/gpio/sunxi_gpio.c
this adds are removed in a later patch.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
drivers/gpio/sunxi_gpio.c
drivers/power/axp209.c
drivers/power/axp221.c
include/axp209.h
include/axp221.h