Messages in this thread | | | From | Mathew King <> | Subject | [PATCH 0/4] Cleanup power_supply_sysfs.c | Date | Fri, 24 Apr 2020 11:35:29 -0600 |
| |
A few various patches to cleanup the power_supply sysfs implementation.
Mathew King (4): power_supply: Cleanup power supply sysfs attribute list power_supply: Use designated initializer for property text arrays power_supply: Add a macro that maps enum properties to text values power_supply: Add power supply type property to uevent env
drivers/power/supply/power_supply.h | 7 +- drivers/power/supply/power_supply_core.c | 9 +- drivers/power/supply/power_supply_sysfs.c | 507 +++++++++++++--------- 3 files changed, 305 insertions(+), 218 deletions(-)
-- 2.26.2.303.gf8c07b1a785-goog
| |