summaryrefslogtreecommitdiff
path: root/include/axp209.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-10-03 15:18:33 +0200
committerHans de Goede <hdegoede@redhat.com>2015-10-20 18:40:27 +0200
commit6944aff1ca91e8cf2c373193982cbb0417b4d4cc (patch)
tree02549285ee6718f207188a977ac197a1cf5ac7c8 /include/axp209.h
parent401175220d169ba2bfe7fbb50d73ccc9c1d6a635 (diff)
downloadu-boot-imx-6944aff1ca91e8cf2c373193982cbb0417b4d4cc.zip
u-boot-imx-6944aff1ca91e8cf2c373193982cbb0417b4d4cc.tar.gz
u-boot-imx-6944aff1ca91e8cf2c373193982cbb0417b4d4cc.tar.bz2
sunxi: power: Unify axp pmic function names
Stop prefixing the axp functions for setting voltages, etc. with the model number, there ever is only one pmic driver built into u-boot, this allows simplifying the callers. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'include/axp209.h')
-rw-r--r--include/axp209.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/axp209.h b/include/axp209.h
index 6170202..13aa66c 100644
--- a/include/axp209.h
+++ b/include/axp209.h
@@ -39,12 +39,3 @@ enum axp209_reg {
#define AXP_GPIO_CTRL_INPUT 0x02 /* Input */
#define AXP_GPIO_STATE 0x94
#define AXP_GPIO_STATE_OFFSET 4
-
-extern int axp209_set_dcdc2(int mvolt);
-extern int axp209_set_dcdc3(int mvolt);
-extern int axp209_set_ldo2(int mvolt);
-extern int axp209_set_ldo3(int mvolt);
-extern int axp209_set_ldo4(int mvolt);
-extern int axp209_init(void);
-extern int axp209_poweron_by_dc(void);
-extern int axp209_power_button(void);