power: tps80031-battery: add new power supply properties
authorsyed rafiuddin <srafiuddin@nvidia.com>
Tue, 27 Sep 2011 19:59:48 +0000 (00:59 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Fri, 23 Mar 2012 07:52:25 +0000 (00:52 -0700)
commit2ba15a61b988d02ddb6060a0620173b9a5ca6ae0
tree054bb2ca7656e27cc9f988aff37d8106d1504d92
parent2eaee17509fd0a9b72f6b46f860b5ed748f93376
power: tps80031-battery: add new power supply properties

- Addition of temperature, charge_now and charge counter
 properties to fuel-gauge controller
- Fixed the voltage reading as linux power class requires
 uV as voltage unit instead of mV

bug 872686, 872697

Reviewed-on: http://git-master/r/56988
(cherry picked from commit df7b02de84e4665516caed2f1e00da60d868b1de)

Change-Id: Iabad1f4fdc0431a3070d8ee3558aaf010e667853
Reviewed-on: http://git-master/r/61860
Reviewed-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Tested-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

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