diff options
| author | Sebastian Reichel <[email protected]> | 2018-09-28 11:10:51 +0200 |
|---|---|---|
| committer | Sebastian Reichel <[email protected]> | 2018-12-13 00:15:47 +0100 |
| commit | a45cefb0ca1fdec07495117c1d325d99fa9f5bbc (patch) | |
| tree | 86d103cb837357afd6ffb381660ef3bcaefd3974 /include/linux | |
| parent | b10474aafe80cf50afe7d299d3cc8a60efe3e69b (diff) | |
power: supply: ds2781: 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