aboutsummaryrefslogtreecommitdiff
path: root/drivers/acpi/cppc_acpi.c
diff options
context:
space:
mode:
authorThomas Weißschuh <[email protected]>2024-09-04 09:12:55 +0200
committerRafael J. Wysocki <[email protected]>2024-10-07 18:45:18 +0200
commita56fdd874301c3a2d27097a7084467ab5bdc6815 (patch)
tree396c20f284492f6faf5b569aaa5a3e839513ef82 /drivers/acpi/cppc_acpi.c
parent0710c1ce50455ed0db91bffa0eebbaa4f69b1773 (diff)
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 <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions