Re: [PATCH 0/4] Add support for constant power-supply property tables

From: Sebastian Reichel
Date: Fri May 01 2020 - 11:10:21 EST


Hi,

On Mon, Apr 13, 2020 at 08:38:49PM +0200, Sebastian Reichel wrote:
> This marks the properties and usb_types entries in
> struct power_supply_desc as const, so that drivers
> can constify those tables.
>
> Sebastian Reichel (4):
> power: supply: core: Constify usb_types
> power: supply: charger-manager: Prepare for const properties
> power: supply: generic-adc-battery: Prepare for const properties
> power: supply: core: Constify properties
>
> drivers/power/supply/charger-manager.c | 40 ++++++++++++----------
> drivers/power/supply/generic-adc-battery.c | 22 ++++++------
> drivers/power/supply/power_supply_sysfs.c | 2 +-
> include/linux/power_supply.h | 4 +--
> 4 files changed, 36 insertions(+), 32 deletions(-)

I merged the charger-manager and generic-adc-battery patches with
Enric's RB, but took over MichaÅ MirosÅaw's variant for the other bits.

-- Sebastian

Attachment: signature.asc
Description: PGP signature