summaryrefslogtreecommitdiff
path: root/drivers/power/supply/twl4030_charger.c
diff options
context:
space:
mode:
authorSebastian Reichel <sebastian.reichel@collabora.com>2018-09-28 12:39:16 +0300
committerSebastian Reichel <sre@kernel.org>2018-12-13 02:16:08 +0300
commit348a3c079bfccbdf63767dfb5bb0521d2e889fa9 (patch)
tree9caf1639fb47953b6c923ee750a47e001ff0fd8f /drivers/power/supply/twl4030_charger.c
parentb1f7ee898bdcad18e5a5c008ff7bf30ae9941265 (diff)
downloadlinux-348a3c079bfccbdf63767dfb5bb0521d2e889fa9.tar.xz
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>
Diffstat (limited to 'drivers/power/supply/twl4030_charger.c')
0 files changed, 0 insertions, 0 deletions