summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorRamakrishna Pallala <ramakrishna.pallala@intel.com>2012-05-05 18:03:54 +0200
committerAnton Vorontsov <anton.vorontsov@linaro.org>2012-05-06 13:46:18 +0200
commitfcc015cda7dfe1af26e17bbed21eecb742183b7e (patch)
treeb7121101f98a6beb33213a381174097f48d98ef0 /init
parentmax17042_battery: Add support for max17047/50 chip (diff)
downloadlinux-fcc015cda7dfe1af26e17bbed21eecb742183b7e.tar.xz
linux-fcc015cda7dfe1af26e17bbed21eecb742183b7e.zip
smb347-charger: Clean up battery attributes
CURRENT_NOW and VOLTAGE_NOW should be instantaneous readings from power supply(ex: battery). smb347 charger driver reports charge voltage for VOLTAGE_NOW and charge current for CURRENT_NOW attributes which are not instantaneous readings. This patch removes the battery VOLTAGE_NOW and CURRENT_NOW properties from the driver and also removes hw_to_current() which is not required anymore. Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com> Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions