diff options
author | Sebastian Reichel <sebastian.reichel@collabora.com> | 2018-09-28 11:10:51 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2018-12-13 00:15:47 +0100 |
commit | a45cefb0ca1fdec07495117c1d325d99fa9f5bbc (patch) | |
tree | 86d103cb837357afd6ffb381660ef3bcaefd3974 /drivers/power/supply/bq27xxx_battery_hdq.c | |
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 <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power/supply/bq27xxx_battery_hdq.c')
0 files changed, 0 insertions, 0 deletions