diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2024-06-30 23:54:08 +0300 |
---|---|---|
committer | Tzung-Bi Shih <tzungbi@kernel.org> | 2024-07-01 16:22:18 +0300 |
commit | 2681bbaa39cc2b5711494cc7e0166538f24e9c16 (patch) | |
tree | e42841d1449d8caa3b847e457346cbc4d0981b75 /scripts/gdb/linux/tasks.py | |
parent | 5b8feca8dee443055049c8ccfdd97f64a0e1d2b4 (diff) | |
download | linux-2681bbaa39cc2b5711494cc7e0166538f24e9c16.tar.xz |
ACPI: battery: add devm_battery_hook_register()
Add a utility function for device-managed registration of battery hooks.
The function makes it easier to manage the lifecycle of a hook.
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20240630-cros_ec-charge-control-v5-1-8f649d018c52@weissschuh.net
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions