From: Ian Lartey Date: Wed, 1 Sep 2010 17:09:27 +0000 (+0100) Subject: wm831x_power: Remove duplicate chg mask X-Git-Tag: v2.6.37-rc1~107^2~14 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2d98dae206daad05d794255b15bd0eb31c9294d0;p=karo-tx-linux.git wm831x_power: Remove duplicate chg mask Reported-by: Julia Lawall Signed-off-by: Ian Lartey Acked-by: Mark Brown Signed-off-by: Anton Vorontsov --- 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)