diff options
author | Hongbo Zhang <hongbo.zhang@linaro.org> | 2013-04-03 08:18:09 -0400 |
---|---|---|
committer | Anton Vorontsov <anton@enomsg.org> | 2013-04-16 20:33:34 -0400 |
commit | 6c1f8e02ccccd413012a64b6a15779120f27b734 (patch) | |
tree | 2c7002ab2ec348e4df28dee742fe42409423fa61 /drivers/power/ab8500_bmdata.c | |
parent | 6f780965aaf3354a3a6165d9018393a4a381b81d (diff) |
ab8500_bmdata: Eliminate CamelCase warning of some variables
Some AB8500 power related variable names don't comply with kernel coding
rules, any new patch using these variables will result in CamelCase
warnings from checkpatch.pl, this patch re-name these variables.
Signed-off-by: Hongbo Zhang <hongbo.zhang@linaro.org>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
Diffstat (limited to 'drivers/power/ab8500_bmdata.c')
-rw-r--r-- | drivers/power/ab8500_bmdata.c | 24 |
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 | */ |
14 | static struct abx500_res_to_temp temp_tbl_A_thermistor[] = { | 14 | static 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 | ||
32 | static struct abx500_res_to_temp temp_tbl_B_thermistor[] = { | 32 | static 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 | ||
50 | static struct abx500_v_to_cap cap_tbl_A_thermistor[] = { | 50 | static 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 | ||
73 | static struct abx500_v_to_cap cap_tbl_B_thermistor[] = { | 73 | static 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 | }, |