diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2024-09-04 09:12:55 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-10-07 18:45:18 +0200 |
commit | a56fdd874301c3a2d27097a7084467ab5bdc6815 (patch) | |
tree | 396c20f284492f6faf5b569aaa5a3e839513ef82 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 0710c1ce50455ed0db91bffa0eebbaa4f69b1773 (diff) | |
download | linux-a56fdd874301c3a2d27097a7084467ab5bdc6815.tar.gz linux-a56fdd874301c3a2d27097a7084467ab5bdc6815.tar.bz2 linux-a56fdd874301c3a2d27097a7084467ab5bdc6815.zip |
ACPI: battery: use DEFINE_SIMPLE_DEV_PM_OPS
Use the recommended macro to define the PM ops.
Also use pm_sleep_ptr() when assigning the ops to the driver.
This allows the removal of the ifdef CONFIG_PM_SLEEP.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://patch.msgid.link/20240904-acpi-battery-cleanups-v1-4-a3bf74f22d40@weissschuh.net
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions