lkml.org 
[lkml]   [2020]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/4] Cleanup power_supply_sysfs.c
Date
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

\
 
 \ /
  Last update: 2020-04-24 19:35    [W:0.079 / U:0.292 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site