diff options
author | Sebastian Reichel <sebastian.reichel@collabora.com> | 2018-09-28 12:25:20 +0300 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2018-12-13 02:16:02 +0300 |
commit | b1f7ee898bdcad18e5a5c008ff7bf30ae9941265 (patch) | |
tree | 06207d89a163d4cb65e0b97e92639d27f4a09be0 /drivers/power/supply/bq24190_charger.c | |
parent | a45cefb0ca1fdec07495117c1d325d99fa9f5bbc (diff) | |
download | linux-b1f7ee898bdcad18e5a5c008ff7bf30ae9941265.tar.xz |
power: supply: lp8788: 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/bq24190_charger.c')
0 files changed, 0 insertions, 0 deletions