[PATCH 0/4] power: supply: core: random cleanups and optimizations

Thomas Weißschuh posted 4 patches 1 month, 3 weeks ago
drivers/power/supply/power_supply.h       | 22 +++++++++++++++++++++-
drivers/power/supply/power_supply_core.c  |  5 ++---
drivers/power/supply/power_supply_hwmon.c |  3 +++
drivers/power/supply/power_supply_sysfs.c | 12 ++++++------
include/linux/power_supply.h              | 15 ---------------
5 files changed, 32 insertions(+), 25 deletions(-)
[PATCH 0/4] power: supply: core: random cleanups and optimizations
Posted by Thomas Weißschuh 1 month, 3 weeks ago
Some independent cleanups and optimizations.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
Thomas Weißschuh (4):
      power: supply: core: use device mutex wrappers
      power: supply: core: unexport power_supply_property_is_writeable()
      power: supply: core: mark attribute arrays as ro_after_init
      power: supply: hwmon: move interface to private header

 drivers/power/supply/power_supply.h       | 22 +++++++++++++++++++++-
 drivers/power/supply/power_supply_core.c  |  5 ++---
 drivers/power/supply/power_supply_hwmon.c |  3 +++
 drivers/power/supply/power_supply_sysfs.c | 12 ++++++------
 include/linux/power_supply.h              | 15 ---------------
 5 files changed, 32 insertions(+), 25 deletions(-)
---
base-commit: 27cc6fdf720183dce1dbd293483ec5a9cb6b595e
change-id: 20240922-power-supply-cleanups-7cebf4691754

Best regards,
-- 
Thomas Weißschuh <linux@weissschuh.net>

Re: (subset) [PATCH 0/4] power: supply: core: random cleanups and optimizations
Posted by Sebastian Reichel 1 month, 1 week ago
On Sat, 05 Oct 2024 12:06:14 +0200, Thomas Weißschuh wrote:
> Some independent cleanups and optimizations.
> 
> 

Applied, thanks!

[1/4] power: supply: core: use device mutex wrappers
      commit: bd3ee57b9d4c58edbf6f7bba071f6e508c7ff1c6
[2/4] power: supply: core: unexport power_supply_property_is_writeable()
      commit: cf70da29c4993bf23df68b67a82dfa3da8234e75
[3/4] power: supply: core: mark attribute arrays as ro_after_init
      commit: 3120b5f218ca8e2b375d496e2ff3f4f861fbc013

Best regards,
-- 
Sebastian Reichel <sebastian.reichel@collabora.com>