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

Since commit ("power: supply: Drop use_cnt check from power_supply_property_is_writeable()"),
this function does not check use_cnt anymore, making it unsuitable for
general usage. As it is only used by the psy core anyways, remove it
from the public header and unexport it to avoid misusage.

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