diff options
| author | Thomas Weißschuh <[email protected]> | 2024-09-04 09:12:55 +0200 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2024-10-07 18:45:18 +0200 |
| commit | a56fdd874301c3a2d27097a7084467ab5bdc6815 (patch) | |
| tree | 396c20f284492f6faf5b569aaa5a3e839513ef82 /drivers/platform/x86/intel/pmt/class.c | |
| parent | 0710c1ce50455ed0db91bffa0eebbaa4f69b1773 (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/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions