]> git.karo-electronics.de Git - linux-beck.git/commit
max17042_battery: Support CHARGE_COUNTER power supply attribute
authorRamakrishna Pallala <ramakrishna.pallala@intel.com>
Mon, 7 May 2012 04:55:58 +0000 (10:25 +0530)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Tue, 19 Jun 2012 23:48:08 +0000 (16:48 -0700)
commit5fc55bc8225d5a5c13b978e3e3dbf51e6cd6a333
treec0e8412fa7b3e9c2272aa888f0b80a48ffecfa20
parent19dd6bcd1136d254c1f12b0f69e827c3e1679b43
max17042_battery: Support CHARGE_COUNTER power supply attribute

This patch adds the support for CHARGE_COUNTER power supply attribute
to max17042/47 driver.

Note:QH(Charge Counter) register is not documented in max17042 the Spec.

Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
drivers/power/max17042_battery.c