commit | 348a3c079bfccbdf63767dfb5bb0521d2e889fa9 | [log] [tgz] |
---|---|---|
author | Sebastian Reichel <sebastian.reichel@collabora.com> | Fri Sep 28 11:39:16 2018 +0200 |
committer | Sebastian Reichel <sre@kernel.org> | Thu Dec 13 00:16:08 2018 +0100 |
tree | 9caf1639fb47953b6c923ee750a47e001ff0fd8f | |
parent | b1f7ee898bdcad18e5a5c008ff7bf30ae9941265 [diff] |
power: supply: bq24190_charger: 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>