]> git.kernelconcepts.de Git - karo-tx-uboot.git/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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:35:19 +0000 (22:35 +0200)
commit99f2b3be99426e4247c80d6112dd68bb35746f8c
tree18b78059b7ace8ebd65201745f628ca5b7cacbc1
parent9dcce4cb8d196121e62905a1608295bb8f69aa99
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