diff options
author | rohitk <rohitk@nvidia.com> | 2011-01-21 16:14:14 +0530 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2011-01-21 15:16:02 -0800 |
commit | 7f720a4461305777e92bdd19ce99562b8b70c45f (patch) | |
tree | fbdcd6d61c44318f2e47d099ffe2bb442a90ea85 /drivers/power/wm831x_power.c | |
parent | b88014559b16532c2a4061b646c9dbe71a3c186d (diff) |
power: bq20z75-battery: Add flag to check presence of battery.
- Added a flag to cache whether the battery is present or not.
- Added checks for battery presence before trying to
communicate with the battery over i2c.
Bug 781962
Change-Id: I30d5842dee052baa33e7242c1cfa1e58d554d9d2
Reviewed-on: http://git-master/r/16526
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Diffstat (limited to 'drivers/power/wm831x_power.c')
0 files changed, 0 insertions, 0 deletions