From: Ramakrishna Pallala Date: Sat, 5 May 2012 16:03:54 +0000 (+0530) Subject: smb347-charger: Clean up battery attributes X-Git-Tag: v3.5-rc1~23^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcc015cda7dfe1af26e17bbed21eecb742183b7e;p=pandora-kernel.git 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 Acked-by: Mika Westerberg Signed-off-by: Anton Vorontsov --- Reading git-diff-tree failed