summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorSebastian Reichel <sebastian.reichel@collabora.com>2018-09-28 11:46:04 +0200
committerSebastian Reichel <sre@kernel.org>2018-12-13 00:16:12 +0100
commit750688c7cdfd3ffd6189d96cbf0ff8f19bdebbdb (patch)
tree450978c8253d31749b07fa51ec00c3e69ac6e058 /include/linux
parent348a3c079bfccbdf63767dfb5bb0521d2e889fa9 (diff)
downloadcachepc-linux-750688c7cdfd3ffd6189d96cbf0ff8f19bdebbdb.tar.gz
cachepc-linux-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 'include/linux')
0 files changed, 0 insertions, 0 deletions