OSDN Git Service

power: supply: core: add support for custom sysfs attributes
authorSebastian Reichel <sebastian.reichel@collabora.com>
Thu, 27 Sep 2018 13:46:03 +0000 (15:46 +0200)
committerSebastian Reichel <sre@kernel.org>
Wed, 12 Dec 2018 23:15:06 +0000 (00:15 +0100)
commitcef8fe6a382cb556b590269e9d1dfc0241014903
tree0f96102a6fe960af19ee8b5d0b15b44ab23e1d56
parent4a040e7c72e6bd2ffc023ecca31e336aec9dbb87
power: supply: core: add support for custom sysfs attributes

Add functionality to setup device specific sysfs attributes
in a race condition free manner

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/power_supply_core.c
include/linux/power_supply.h