diff options
author | Ian Lartey <ian@opensource.wolfsonmicro.com> | 2010-09-01 13:09:27 -0400 |
---|---|---|
committer | Anton Vorontsov <cbouatmailru@gmail.com> | 2010-09-01 14:35:06 -0400 |
commit | 2d98dae206daad05d794255b15bd0eb31c9294d0 (patch) | |
tree | d911ceb1989885d17afa6302e1f9e0b76d8c16a4 /drivers/power | |
parent | fd0964c5f1bdaa979a7ea5cfc9af2de9b0a1e766 (diff) |
wm831x_power: Remove duplicate chg mask
Reported-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Ian Lartey <ian@opensource.wolfsonmicro.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'drivers/power')
-rw-r--r-- | drivers/power/wm831x_power.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/power/wm831x_power.c b/drivers/power/wm831x_power.c index fbcc36dae470..a57a94150cb8 100644 --- a/drivers/power/wm831x_power.c +++ b/drivers/power/wm831x_power.c | |||
@@ -267,7 +267,6 @@ static void wm831x_config_battery(struct wm831x *wm831x) | |||
267 | ret = wm831x_set_bits(wm831x, WM831X_CHARGER_CONTROL_1, | 267 | ret = wm831x_set_bits(wm831x, WM831X_CHARGER_CONTROL_1, |
268 | WM831X_CHG_ENA_MASK | | 268 | WM831X_CHG_ENA_MASK | |
269 | WM831X_CHG_FAST_MASK | | 269 | WM831X_CHG_FAST_MASK | |
270 | WM831X_CHG_ITERM_MASK | | ||
271 | WM831X_CHG_ITERM_MASK, | 270 | WM831X_CHG_ITERM_MASK, |
272 | reg1); | 271 | reg1); |
273 | if (ret != 0) | 272 | if (ret != 0) |