]> git.baikalelectronics.ru Git - kernel.git/commit
intel_pmic_battery: Fix battery charging status on mrst
authorShuduo Sang <shuduo.sang@intel.com>
Tue, 24 Aug 2010 13:35:17 +0000 (14:35 +0100)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Tue, 24 Aug 2010 14:27:57 +0000 (18:27 +0400)
commit5e1c6feecb70025e4887779aeef2677ff840dfc4
treeca4809d3d42a4c2327141b4bdd86f09a698696cc
parentccd1e7252da4c8920f7eef8af8106f885e54430f
intel_pmic_battery: Fix battery charging status on mrst

The arguments got swapped on some functions which produces undefined results.
The main one got fixed before submit but the other two were missed.

Signed-off-by: Shuduo Sang <shuduo.sang@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
drivers/power/intel_mid_battery.c