commit | 750688c7cdfd3ffd6189d96cbf0ff8f19bdebbdb | [log] [tgz] |
---|---|---|
author | Sebastian Reichel <sebastian.reichel@collabora.com> | Fri Sep 28 11:46:04 2018 +0200 |
committer | Sebastian Reichel <sre@kernel.org> | Thu Dec 13 00:16:12 2018 +0100 |
tree | 450978c8253d31749b07fa51ec00c3e69ac6e058 | |
parent | 348a3c079bfccbdf63767dfb5bb0521d2e889fa9 [diff] |
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>