mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/4] Add support for constant power-supply property tables
@ 2020-04-13 18:38 Sebastian Reichel
  2020-04-13 18:38 ` [PATCH 1/4] power: supply: core: Constify usb_types Sebastian Reichel
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Sebastian Reichel @ 2020-04-13 18:38 UTC (permalink / raw)
  To: Sebastian Reichel; +Cc: linux-pm, linux-kernel, kernel, Sebastian Reichel

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-05-01 15:10 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-13 18:38 [PATCH 0/4] Add support for constant power-supply property tables Sebastian Reichel
2020-04-13 18:38 ` [PATCH 1/4] power: supply: core: Constify usb_types Sebastian Reichel
2020-04-14 15:56   ` Enric Balletbo i Serra
2020-04-13 18:38 ` [PATCH 2/4] power: supply: charger-manager: Prepare for const properties Sebastian Reichel
2020-04-13 18:38 ` [PATCH 3/4] power: supply: generic-adc-battery: " Sebastian Reichel
2020-04-14 15:57   ` Enric Balletbo i Serra
2020-04-13 18:38 ` [PATCH 4/4] power: supply: core: Constify properties Sebastian Reichel
2020-04-14 15:57   ` Enric Balletbo i Serra
2020-04-14 15:55 ` [PATCH 0/4] Add support for constant power-supply property tables Enric Balletbo i Serra
2020-05-01 15:10 ` Sebastian Reichel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®