]> git.baikalelectronics.ru Git - kernel.git/commit
power: supply: Provide stubs for charge_behaviour helpers
authorThomas Weißschuh <linux@weissschuh.net>
Sat, 8 Jan 2022 15:31:58 +0000 (16:31 +0100)
committerHans de Goede <hdegoede@redhat.com>
Sat, 8 Jan 2022 15:56:01 +0000 (16:56 +0100)
commit30a2f048e980968e8e3d24a82981f5266ed08b53
treeaf61a90a39adb3232a722d231e93991ec22834ea
parentb919b4af195ac16146883435534527dd16278366
power: supply: Provide stubs for charge_behaviour helpers

When CONFIG_SYSFS is not enabled provide stubs for the helper functions
to not break their callers.

Fixes: 01509eb98ccf ("power: supply: add helpers for charge_behaviour sysfs")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20220108153158.189489-1-linux@weissschuh.net
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
include/linux/power_supply.h