mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
ab8500-bm: Remove individual [charger|btemp|fg|chargalg] pdata structures
None of the aforementioned components have their own dedicated platform data structures anymore. Instead they have all been merged into one big Battery Management container. Let's remove them and place all the nice newly added attributes into the core container. Signed-off-by: Lee Jones <[email protected]>
This commit is contained in:
parent
0ed5107fa8
commit
97034a1e04
3 changed files with 5 additions and 24 deletions
|
|
@ -2998,7 +2998,7 @@ static int ab8500_charger_probe(struct platform_device *pdev)
|
|||
di->ac_chg.max_out_curr = ab8500_charger_current_map[
|
||||
ARRAY_SIZE(ab8500_charger_current_map) - 1];
|
||||
di->ac_chg.wdt_refresh = CHG_WD_INTERVAL;
|
||||
di->ac_chg.enabled = di->pdata->ac_enabled;
|
||||
di->ac_chg.enabled = di->bm->ac_enabled;
|
||||
di->ac_chg.external = false;
|
||||
|
||||
/* USB supply */
|
||||
|
|
@ -3019,7 +3019,7 @@ static int ab8500_charger_probe(struct platform_device *pdev)
|
|||
di->usb_chg.max_out_curr = ab8500_charger_current_map[
|
||||
ARRAY_SIZE(ab8500_charger_current_map) - 1];
|
||||
di->usb_chg.wdt_refresh = CHG_WD_INTERVAL;
|
||||
di->usb_chg.enabled = di->pdata->usb_enabled;
|
||||
di->usb_chg.enabled = di->bm->usb_enabled;
|
||||
di->usb_chg.external = false;
|
||||
|
||||
/* Create a work queue for the charger */
|
||||
|
|
|
|||
Loading…
Reference in a new issue