diff options
| author | Thomas Weißschuh <[email protected]> | 2024-09-04 07:12:55 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2024-10-07 16:45:18 +0000 |
| commit | a56fdd874301c3a2d27097a7084467ab5bdc6815 (patch) | |
| tree | 396c20f284492f6faf5b569aaa5a3e839513ef82 /drivers/acpi/cppc_acpi.c | |
| parent | ACPI: battery: initialize mutexes through devm_ APIs (diff) | |
| download | kernel-a56fdd874301c3a2d27097a7084467ab5bdc6815.tar.gz kernel-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 <[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
