lkml.org 
[lkml]   [2020]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/4] Add support for constant power-supply property tables
Date
Hi,

This marks the properties and usb_types entries in
struct power_supply_desc as const, so that drivers
can constify those tables.

-- Sebastian

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(-)

--
2.25.1

\
 
 \ /
  Last update: 2020-04-13 20:39    [W:0.065 / U:1.900 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site