]> Git Repo - linux.git/commit - drivers/power/power_supply_core.c
power_supply: Use attribute groups
authorAnton Vorontsov <[email protected]>
Tue, 18 May 2010 19:49:51 +0000 (21:49 +0200)
committerAnton Vorontsov <[email protected]>
Wed, 19 May 2010 08:14:28 +0000 (12:14 +0400)
commit5f487cd34f4337f9bc27ca19da72a39d1b0a0ab4
treef3204e0cf64a7202c42d1f397fd978ccd61f8225
parenta1e50fd4452b2ed57376ece465a17276b59fad9c
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 <[email protected]>
Suggested-by: Kay Sievers <[email protected]>
Signed-off-by: Anton Vorontsov <[email protected]>
Tested-by: Daniel Mack <[email protected]>
drivers/power/power_supply.h
drivers/power/power_supply_core.c
drivers/power/power_supply_sysfs.c
include/linux/power_supply.h
This page took 0.057079 seconds and 4 git commands to generate.