diff options
| author | Sebastian Reichel <[email protected]> | 2018-09-28 11:00:32 +0200 |
|---|---|---|
| committer | Sebastian Reichel <[email protected]> | 2018-12-13 00:15:42 +0100 |
| commit | b10474aafe80cf50afe7d299d3cc8a60efe3e69b (patch) | |
| tree | 481f8a155b815cc9916d6fea04e839790cc6d8b9 /include/linux | |
| 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 <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions