Message ID | 20241005-power-supply-cleanups-v1-0-45303b2d0a4d@weissschuh.net |
---|---|
Headers | show |
Series | power: supply: core: random cleanups and optimizations | expand |
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,
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,