mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
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>
This commit is contained in:
@ -25,9 +25,3 @@ enum axp152_reg {
|
||||
#define AXP_GPIO_CTRL_INPUT 0x02 /* Input */
|
||||
#define AXP_GPIO_STATE 0x97
|
||||
#define AXP_GPIO_STATE_OFFSET 0
|
||||
|
||||
int axp152_set_dcdc2(int mvolt);
|
||||
int axp152_set_dcdc3(int mvolt);
|
||||
int axp152_set_dcdc4(int mvolt);
|
||||
int axp152_set_ldo2(int mvolt);
|
||||
int axp152_init(void);
|
||||
|
Reference in New Issue
Block a user