diff options
author | Sebastian Reichel <sebastian.reichel@collabora.com> | 2018-09-28 11:46:04 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2018-12-13 00:16:12 +0100 |
commit | 750688c7cdfd3ffd6189d96cbf0ff8f19bdebbdb (patch) | |
tree | 450978c8253d31749b07fa51ec00c3e69ac6e058 /drivers/md/md-multipath.h | |
parent | 348a3c079bfccbdf63767dfb5bb0521d2e889fa9 (diff) | |
download | linux-stable-750688c7cdfd3ffd6189d96cbf0ff8f19bdebbdb.tar.gz linux-stable-750688c7cdfd3ffd6189d96cbf0ff8f19bdebbdb.tar.bz2 linux-stable-750688c7cdfd3ffd6189d96cbf0ff8f19bdebbdb.zip |
power: supply: bq24257: 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/md/md-multipath.h')
0 files changed, 0 insertions, 0 deletions