]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drivers/power/intel_mid_battery.c: fix build
authorAndrew Morton <akpm@linux-foundation.org>
Mon, 24 Oct 2011 14:53:32 +0000 (01:53 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 7 Nov 2011 02:40:17 +0000 (13:40 +1100)
Seems that nobody's even trying any more.

Cc: Nithish Mahalingam <nithish.mahalingam@intel.com>
Cc: Alan Cox <alan@linux.intel.com>
Cc: Anton Vorontsov <cbouatmailru@gmail.com>
Cc: Major Lee <major_lee@wistron.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/power/intel_mid_battery.c

index c82088deaa4fe947793de9f679e90ce1908010b6..01fa671ec97f6af9a31bf1a8c39ceef86691617b 100644 (file)
@@ -314,7 +314,7 @@ static void pmic_battery_read_status(struct pmic_power_module_info *pbi)
                        pbi->batt_health = POWER_SUPPLY_HEALTH_GOOD;
                        if (r8 & PMIC_BATT_CHR_SDCLMT_MASK) {
                                /* PMIC will change charging current automatically */
-                               pmic_battery_log_event(pbi, BATT_EVENT_DCLMT_EXCPT);
+                               pmic_battery_log_event(BATT_EVENT_DCLMT_EXCPT);
                        }
                }
        }