Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 350650
b: refs/heads/master
c: 97034a1
h: refs/heads/master
v: v3
  • Loading branch information
Lee Jones committed Jan 23, 2013
1 parent c83273a commit a4fd1dd
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 25 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0ed5107fa86013c91b1752230d44b79dffee0cda
refs/heads/master: 97034a1e042d4316a83a3f68d61edf6c42e3f265
4 changes: 2 additions & 2 deletions trunk/drivers/power/ab8500_charger.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand All @@ -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 */
Expand Down
3 changes: 3 additions & 0 deletions trunk/include/linux/mfd/abx500.h
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,9 @@ struct abx500_bm_data {
int usb_safety_tmr_h;
int bkup_bat_v;
int bkup_bat_i;
bool autopower_cfg;
bool ac_enabled;
bool usb_enabled;
bool no_maintenance;
bool capacity_scaling;
bool chg_unknown_bat;
Expand Down
22 changes: 0 additions & 22 deletions trunk/include/linux/mfd/abx500/ab8500-bm.h
Original file line number Diff line number Diff line change
Expand Up @@ -404,28 +404,6 @@ struct ab8500_bm_data {
const struct ab8500_fg_parameters *fg_params;
};

struct ab8500_charger_platform_data {
char **supplied_to;
size_t num_supplicants;
bool autopower_cfg;
bool ac_enabled;
bool usb_enabled;
};

struct ab8500_btemp_platform_data {
char **supplied_to;
size_t num_supplicants;
};

struct ab8500_fg_platform_data {
char **supplied_to;
size_t num_supplicants;
};

struct ab8500_chargalg_platform_data {
char **supplied_to;
size_t num_supplicants;
};
struct ab8500_btemp;
struct ab8500_gpadc;
struct ab8500_fg;
Expand Down

0 comments on commit a4fd1dd

Please sign in to comment.