[PORT FROM R2]max17042: cleaned up battery detection logic
authorRamakrishna Pallala <ramakrishna.pallala@intel.com>
Thu, 22 Dec 2011 10:25:31 +0000 (15:55 +0530)
committerbuildbot <buildbot@intel.com>
Tue, 24 Jan 2012 15:22:01 +0000 (07:22 -0800)
commitea7d3f0259870a750ee26230c9bdf55b0c4c3d6c
tree6e1aa476645302ddd4c620da49ba04663b8ef478
parent52f32e63b55cd8c632bcfa5b0c4a31cabad91621
[PORT FROM R2]max17042: cleaned up battery detection logic

BZ: 14245

This patch cleans up the valid battery detection logic from the
driver as battery detection will be done as part of platfrom
specific initialization code.

R2-Change-Id: Iddb476ec85809754af14724dcccd43322c82271d
Orig-Change-Id: I62655277c4097bd7945c4b8e8af1c87f0a52598f
Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Conflicts:

drivers/power/max17042_battery.c

Change-Id: I239cac9d49cc26b120f2a3852a31adc30f271f43
Signed-off-by: Eduardo Mendi <eduardox.mendi@intel.com>
Reviewed-on: http://android.intel.com:8080/32751
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
drivers/power/max17042_battery.c