roth: power: check battery presence
authorSyed Rafiuddin <srafiuddin@nvidia.com>
Sun, 30 Dec 2012 14:59:05 +0000 (19:59 +0530)
committerRiham Haidar <rhaidar@nvidia.com>
Wed, 16 Jan 2013 22:20:33 +0000 (14:20 -0800)
commit86f8cd4ed37b844c24a6841e83e1aa7775869900
treedf6a5eaa09979dabcf8e3f7c24bd766b4082dd78
parentdd8a24793ce4b4739783a8a4f0069cfc668db6ce
roth: power: check battery presence

check presence of battery based on fg driver

Change-Id: I0b6beb7bc6d3c441d4c93f4037d0a5af108233b7
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/#change,187632
(cherry picked from commit 221766dfd5f5cebf56a84c0c6557bd5e07d34e1d)
Reviewed-on: http://git-master/r/190650
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>
arch/arm/mach-tegra/board-roth-power.c
drivers/power/bq2419x-charger.c
drivers/power/max17048_battery.c
include/linux/max17048_battery.h
include/linux/mfd/bq2419x.h