From: Anton Vorontsov Date: Tue, 18 May 2010 19:49:51 +0000 (+0200) Subject: power_supply: Use attribute groups X-Git-Tag: v2.6.35-rc1~412^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f487cd34f4337f9bc27ca19da72a39d1b0a0ab4;p=pandora-kernel.git power_supply: Use attribute groups This fixes a race between power supply device and initial attributes creation, plus makes it possible to implement writable properties. [Daniel Mack - removed superflous return statement and dropped .mode attribute from POWER_SUPPLY_ATTR] Suggested-by: Greg KH Suggested-by: Kay Sievers Signed-off-by: Anton Vorontsov Tested-by: Daniel Mack --- Reading git-diff-tree failed