commit | b10474aafe80cf50afe7d299d3cc8a60efe3e69b | [log] [tgz] |
---|---|---|
author | Sebastian Reichel <sebastian.reichel@collabora.com> | Fri Sep 28 11:00:32 2018 +0200 |
committer | Sebastian Reichel <sre@kernel.org> | Thu Dec 13 00:15:42 2018 +0100 |
tree | 481f8a155b815cc9916d6fea04e839790cc6d8b9 | |
parent | 06215ce99988b8ce1e44ea096c5ef1fd202efb15 [diff] |
power: supply: ds2780: fix race-condition in sysfs registration This registers custom sysfs properties using the native functionality of the power-supply framework, which cleans up the code a bit and fixes a race-condition. Before this patch the sysfs attributes were not properly registered to udev. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>