]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
drivers/power/intel_mid_battery.c: fix build
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 8 Nov 2011 00:19:53 +0000 (11:19 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 8 Nov 2011 03:15:46 +0000 (14:15 +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);
                        }
                }
        }