diff options
author | syed rafiuddin <srafiuddin@nvidia.com> | 2011-10-07 14:16:40 +0530 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2011-11-08 13:58:26 -0800 |
commit | 149469646e1e5e7ece787ef9546de60a97b46802 (patch) | |
tree | ad58379c164e0952aa95e7c6cb921c5091b4ebc4 /include | |
parent | b89dbb5a64bcb3124794f644e71658de83a4ab71 (diff) |
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/54789
(cherry picked from commit 0adbe7449cf2a8a4752077824649a113e967bf90)
Change-Id: I843eab12a98516b29c45eff16d105e06b0bac735
Reviewed-on: http://git-master/r/61830
Reviewed-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Tested-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mfd/tps80031.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/tps80031.h b/include/linux/mfd/tps80031.h index 9f9af00761e4..4c43c33def34 100644 --- a/include/linux/mfd/tps80031.h +++ b/include/linux/mfd/tps80031.h @@ -140,6 +140,7 @@ struct tps80031_platform_data { struct tps80031_bg_platform_data { int irq_base; + int battery_present; }; /* |