]> www.infradead.org Git - users/jedix/linux-maple.git/commit
power: supply: core: use device mutex wrappers
authorThomas Weißschuh <linux@weissschuh.net>
Sat, 5 Oct 2024 10:06:15 +0000 (12:06 +0200)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Wed, 16 Oct 2024 21:13:38 +0000 (23:13 +0200)
commitbd3ee57b9d4c58edbf6f7bba071f6e508c7ff1c6
treeb7ee89a9314510b96af444d63faacf0874b6b03e
parent34f99d3b706a519e556841f405c224ca708b1f54
power: supply: core: use device mutex wrappers

The mutex is an implementation detail of struct device.
Use the dedicated wrappers to access the field.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20241005-power-supply-cleanups-v1-1-45303b2d0a4d@weissschuh.net
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/power_supply_core.c