power: tps80031-battery: Exit driver if battery is not detected
authorsyed rafiuddin <srafiuddin@nvidia.com>
Fri, 7 Oct 2011 08:46:40 +0000 (13:46 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Fri, 23 Mar 2012 07:52:26 +0000 (00:52 -0700)
commitaad8e9cd37b2396d9aaef2bfb43d4a65d68069ce
tree039a736ffc97af667c148759c69eea5c272ab90f
parent8403ad3a6c41614534de5c29cf934727e3571505
power: tps80031-battery: Exit driver if battery is not detected

Exit fuel-gauge driver if battery presence is not detected.

bug 873965

Reviewed-on: http://git-master/r/61830
(cherry picked from commit 149469646e1e5e7ece787ef9546de60a97b46802)

Change-Id: I00139f1a92822875fb1409a918c580b83d4789f0
Reviewed-on: http://git-master/r/64090
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R5dce5151c2364519a4a7e58ae4cbb2b94126fe9b
include/linux/mfd/tps80031.h