[PATCH 0/4] Cleanup power_supply_sysfs.c

From: Mathew King
Date: Fri Apr 24 2020 - 13:35:46 EST


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