diff options
author | Ian Lartey <ian@opensource.wolfsonmicro.com> | 2010-09-01 19:09:27 +0200 |
---|---|---|
committer | Anton Vorontsov <cbouatmailru@gmail.com> | 2010-09-01 20:35:06 +0200 |
commit | 2d98dae206daad05d794255b15bd0eb31c9294d0 (patch) | |
tree | d911ceb1989885d17afa6302e1f9e0b76d8c16a4 /drivers/power | |
parent | omap: rx51: Add support for USB chargers (diff) | |
download | linux-2d98dae206daad05d794255b15bd0eb31c9294d0.tar.xz linux-2d98dae206daad05d794255b15bd0eb31c9294d0.zip |
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) ret = wm831x_set_bits(wm831x, WM831X_CHARGER_CONTROL_1, WM831X_CHG_ENA_MASK | WM831X_CHG_FAST_MASK | - WM831X_CHG_ITERM_MASK | WM831X_CHG_ITERM_MASK, reg1); if (ret != 0) |