diff options
author | 2024-12-19 15:28:18 +0100 | |
---|---|---|
committer | 2024-12-19 21:45:58 +0100 | |
commit | 21096800c5ac634a9fbbac21505bfd798163b390 (patch) | |
tree | 377393b5481a32944d5a43acddd3542bd5ca218e /scripts/lib/kdoc/kdoc_files.py | |
parent | power: supply: bq2415x_charger: report charging state changes to userspace (diff) | |
download | linux-rng-21096800c5ac634a9fbbac21505bfd798163b390.tar.xz linux-rng-21096800c5ac634a9fbbac21505bfd798163b390.zip |
power: supply: core: fix build of extension sysfs group if CONFIG_SYSFS=n
Add and use wrapper functions for the sysfs interaction.
Restore the compatibility of CONFIG_POWER_SUPPLY=y and CONFIG_SYSFS=n.
Reported-by: Nathan Chancellor <nathan@kernel.org>
Closes: https://lore.kernel.org/lkml/20241218195229.GA2796534@ax162/
Fixes: 288a2cabcf6b ("power: supply: core: add UAPI to discover currently used extensions")
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20241219-psy-extensions-sysfs-v1-1-868fc6cb46d6@weissschuh.net
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions