wm831x_power: Remove duplicate chg mask
authorIan Lartey <ian@opensource.wolfsonmicro.com>
Wed, 1 Sep 2010 17:09:27 +0000 (18:09 +0100)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Wed, 1 Sep 2010 18:35:06 +0000 (22:35 +0400)
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>
drivers/power/wm831x_power.c

index fbcc36dae470472fd685228ea261a349e664d145..a57a94150cb873e28ebc5c404f63020b7f18c3e6 100644 (file)
@@ -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)