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)
commit77f4b9fe050d59a30c3b11e267289630bb13f56a
treeca4809d3d42a4c2327141b4bdd86f09a698696cc
parentd1b113bb028999e82a8528e1484be8c23fb5a7d9
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