From: Daniel Mack Date: Wed, 15 Jul 2009 16:20:40 +0000 (+0200) Subject: ds2760_battery: add rated_capacity module parameter X-Git-Tag: v2.6.32-rc1~158^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1e72193ea3fa02e96bf3aa66006e18d107d0266;p=pandora-kernel.git ds2760_battery: add rated_capacity module parameter For systems where the ds2760 is soldered directly on the PCB, the 'rated capacity' register is not set to anything useful. In order to allow users to bootstrap this value, introduce a new module parameter 'rated_capacity' and use it to write the internal EEPROM in case the value differes from what's been given. Signed-off-by: Daniel Mack Cc: Szabolcs Gyurko Acked-by: Matt Reimer Signed-off-by: Anton Vorontsov --- Reading git-diff-tree failed