ux500_charger
struct ux500_charger;
int (*enable) (struct ux500_charger *, int, int, int);
int (*check_enable) (struct ux500_charger *, int, int);
int (*kick_wd) (struct ux500_charger *);
int (*update_curr) (struct ux500_charger *, int);
struct ux500_charger *ac_chg;
struct ux500_charger *usb_chg;
static int ab8500_charger_ac_en(struct ux500_charger *charger,
static int ab8500_charger_usb_en(struct ux500_charger *charger,
static int ab8500_charger_usb_check_enable(struct ux500_charger *charger,
static int ab8500_charger_ac_check_enable(struct ux500_charger *charger,
static int ab8500_charger_watchdog_kick(struct ux500_charger *charger)
static int ab8500_charger_update_charger_current(struct ux500_charger *charger,
struct ux500_charger *usb_chg;
usb_chg = (struct ux500_charger *)data;
struct ux500_charger ac_chg;
struct ux500_charger usb_chg;