diff options
author | Anton Vorontsov <cbouatmailru@gmail.com> | 2010-05-18 21:49:51 +0200 |
---|---|---|
committer | Anton Vorontsov <cbouatmailru@gmail.com> | 2010-05-19 12:14:28 +0400 |
commit | 5f487cd34f4337f9bc27ca19da72a39d1b0a0ab4 (patch) | |
tree | f3204e0cf64a7202c42d1f397fd978ccd61f8225 /samples | |
parent | a1e50fd4452b2ed57376ece465a17276b59fad9c (diff) | |
download | kernel_goldelico_gta04-5f487cd34f4337f9bc27ca19da72a39d1b0a0ab4.zip kernel_goldelico_gta04-5f487cd34f4337f9bc27ca19da72a39d1b0a0ab4.tar.gz kernel_goldelico_gta04-5f487cd34f4337f9bc27ca19da72a39d1b0a0ab4.tar.bz2 |
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 <gregkh@suse.de>
Suggested-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Tested-by: Daniel Mack <daniel@caiaq.de>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions