Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 297949
b: refs/heads/master
c: 450ceb2
h: refs/heads/master
i:
  297947: a8750ad
v: v3
  • Loading branch information
Anton Vorontsov committed Mar 26, 2012
1 parent 046033b commit fdcd66e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 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: d329129e9e10e3089550fd9bd692f67687503136
refs/heads/master: 450ceb2b23ed0feba8c1238f52a1d3feacd5379d
2 changes: 1 addition & 1 deletion trunk/drivers/power/ab8500_fg.c
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ static int ab8500_fg_bat_voltage(struct ab8500_fg *di)
static int ab8500_fg_volt_to_capacity(struct ab8500_fg *di, int voltage)
{
int i, tbl_size;
struct v_to_cap *tbl;
struct abx500_v_to_cap *tbl;
int cap = 0;

tbl = di->bat->bat_type[di->bat->batt_id].v_to_cap_tbl,
Expand Down
10 changes: 0 additions & 10 deletions trunk/include/linux/mfd/abx500/ab8500-bm.h
Original file line number Diff line number Diff line change
Expand Up @@ -255,16 +255,6 @@ struct batres_vs_temp {
int resist;
};

/**
* struct v_to_cap - Table for translating voltage to capacity
* @voltage: Voltage in mV
* @capacity: Capacity in percent
*/
struct v_to_cap {
int voltage;
int capacity;
};

/* Forward declaration */
struct ab8500_fg;

Expand Down

0 comments on commit fdcd66e

Please sign in to comment.