diff options
author | Sebastian Reichel <sebastian.reichel@collabora.com> | 2018-09-28 12:46:04 +0300 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2018-12-13 02:16:12 +0300 |
commit | 750688c7cdfd3ffd6189d96cbf0ff8f19bdebbdb (patch) | |
tree | 450978c8253d31749b07fa51ec00c3e69ac6e058 /net/lapb/lapb_timer.c | |
parent | 348a3c079bfccbdf63767dfb5bb0521d2e889fa9 (diff) | |
download | linux-750688c7cdfd3ffd6189d96cbf0ff8f19bdebbdb.tar.xz |
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 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions