Re: [PATCH v2 0/4] Cleanup power_supply_sysfs.c

From: Sebastian Reichel
Date: Fri May 08 2020 - 20:38:37 EST


Hi,

Thanks for this nice patchset, I queued all patches to power-supply's
for-next branch. Next time please rebase to latest state of for-next
branch before sending new patch versions. I had to fix patch context
to apply them because of

de46e0289310 ("power: supply: core: reduce power_supply_show_usb_type() parameters")

-- Sebastian

On Mon, May 04, 2020 at 02:29:26PM -0600, Mathew King wrote:
> A few various patches to cleanup the power_supply sysfs implementation.
> ---
> v2: - Don't create attributes for unlisted properties
> - Use a char array for lower case name so no allocations neeed in
> init
> - Fix patch #2 does not compile because of change meant for patch #3
>
> 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_sysfs.c | 471 ++++++++++++----------
> 1 file changed, 255 insertions(+), 216 deletions(-)
>
> --
> 2.26.2.526.g744177e7f7-goog
>

Attachment: signature.asc
Description: PGP signature