From: NeilBrown Date: Sun, 2 Dec 2012 09:34:21 +0000 (+1100) Subject: bq27x00_battery: Fix bugs introduced with BQ27425 support X-Git-Tag: v3.9-rc1~151^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bde83b9a6b44c1e0fd872e57ecc869cfcf88538f;p=pandora-kernel.git bq27x00_battery: Fix bugs introduced with BQ27425 support commit a66f59ba2e994bf70274ef0513e24e0e7ae20c63 bq27x00_battery: Add support for BQ27425 chip introduced 2 bugs. 1/ 'chip' was set to BQ27425 unconditionally - breaking support for other devices; 2/ BQ27425 does not support cycle count, how the code still tries to get the cycle count for BQ27425, and now does it twice for other chips. Signed-off-by: NeilBrown Cc: Saranya Gopal Cc: stable@vger.kernel.org Signed-off-by: Anton Vorontsov --- Reading git-diff-tree failed