aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power/ab8500_bmdata.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/ab8500_bmdata.c')
-rw-r--r--drivers/power/ab8500_bmdata.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/drivers/power/ab8500_bmdata.c b/drivers/power/ab8500_bmdata.c
index 85742a6d29ff..05ad9664b05d 100644
--- a/drivers/power/ab8500_bmdata.c
+++ b/drivers/power/ab8500_bmdata.c
@@ -11,7 +11,7 @@
11 * Note that the res_to_temp table must be strictly sorted by falling resistance 11 * Note that the res_to_temp table must be strictly sorted by falling resistance
12 * values to work. 12 * values to work.
13 */ 13 */
14static struct abx500_res_to_temp temp_tbl_A_thermistor[] = { 14static struct abx500_res_to_temp temp_tbl_a_thermistor[] = {
15 {-5, 53407}, 15 {-5, 53407},
16 { 0, 48594}, 16 { 0, 48594},
17 { 5, 43804}, 17 { 5, 43804},
@@ -29,7 +29,7 @@ static struct abx500_res_to_temp temp_tbl_A_thermistor[] = {
29 {65, 12500}, 29 {65, 12500},
30}; 30};
31 31
32static struct abx500_res_to_temp temp_tbl_B_thermistor[] = { 32static struct abx500_res_to_temp temp_tbl_b_thermistor[] = {
33 {-5, 200000}, 33 {-5, 200000},
34 { 0, 159024}, 34 { 0, 159024},
35 { 5, 151921}, 35 { 5, 151921},
@@ -47,7 +47,7 @@ static struct abx500_res_to_temp temp_tbl_B_thermistor[] = {
47 {65, 82869}, 47 {65, 82869},
48}; 48};
49 49
50static struct abx500_v_to_cap cap_tbl_A_thermistor[] = { 50static struct abx500_v_to_cap cap_tbl_a_thermistor[] = {
51 {4171, 100}, 51 {4171, 100},
52 {4114, 95}, 52 {4114, 95},
53 {4009, 83}, 53 {4009, 83},
@@ -70,7 +70,7 @@ static struct abx500_v_to_cap cap_tbl_A_thermistor[] = {
70 {3247, 0}, 70 {3247, 0},
71}; 71};
72 72
73static struct abx500_v_to_cap cap_tbl_B_thermistor[] = { 73static struct abx500_v_to_cap cap_tbl_b_thermistor[] = {
74 {4161, 100}, 74 {4161, 100},
75 {4124, 98}, 75 {4124, 98},
76 {4044, 90}, 76 {4044, 90},
@@ -230,10 +230,10 @@ static struct abx500_battery_type bat_type_thermistor[] = {
230 .maint_b_chg_timer_h = 200, 230 .maint_b_chg_timer_h = 200,
231 .low_high_cur_lvl = 300, 231 .low_high_cur_lvl = 300,
232 .low_high_vol_lvl = 4000, 232 .low_high_vol_lvl = 4000,
233 .n_temp_tbl_elements = ARRAY_SIZE(temp_tbl_A_thermistor), 233 .n_temp_tbl_elements = ARRAY_SIZE(temp_tbl_a_thermistor),
234 .r_to_t_tbl = temp_tbl_A_thermistor, 234 .r_to_t_tbl = temp_tbl_a_thermistor,
235 .n_v_cap_tbl_elements = ARRAY_SIZE(cap_tbl_A_thermistor), 235 .n_v_cap_tbl_elements = ARRAY_SIZE(cap_tbl_a_thermistor),
236 .v_to_cap_tbl = cap_tbl_A_thermistor, 236 .v_to_cap_tbl = cap_tbl_a_thermistor,
237 .n_batres_tbl_elements = ARRAY_SIZE(temp_to_batres_tbl_thermistor), 237 .n_batres_tbl_elements = ARRAY_SIZE(temp_to_batres_tbl_thermistor),
238 .batres_tbl = temp_to_batres_tbl_thermistor, 238 .batres_tbl = temp_to_batres_tbl_thermistor,
239 239
@@ -258,10 +258,10 @@ static struct abx500_battery_type bat_type_thermistor[] = {
258 .maint_b_chg_timer_h = 200, 258 .maint_b_chg_timer_h = 200,
259 .low_high_cur_lvl = 300, 259 .low_high_cur_lvl = 300,
260 .low_high_vol_lvl = 4000, 260 .low_high_vol_lvl = 4000,
261 .n_temp_tbl_elements = ARRAY_SIZE(temp_tbl_B_thermistor), 261 .n_temp_tbl_elements = ARRAY_SIZE(temp_tbl_b_thermistor),
262 .r_to_t_tbl = temp_tbl_B_thermistor, 262 .r_to_t_tbl = temp_tbl_b_thermistor,
263 .n_v_cap_tbl_elements = ARRAY_SIZE(cap_tbl_B_thermistor), 263 .n_v_cap_tbl_elements = ARRAY_SIZE(cap_tbl_b_thermistor),
264 .v_to_cap_tbl = cap_tbl_B_thermistor, 264 .v_to_cap_tbl = cap_tbl_b_thermistor,
265 .n_batres_tbl_elements = ARRAY_SIZE(temp_to_batres_tbl_thermistor), 265 .n_batres_tbl_elements = ARRAY_SIZE(temp_to_batres_tbl_thermistor),
266 .batres_tbl = temp_to_batres_tbl_thermistor, 266 .batres_tbl = temp_to_batres_tbl_thermistor,
267 }, 267 },