diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-12-06 17:15:21 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2021-12-07 12:21:01 +0100 |
commit | 692562abcc6ecc8c8afe4c5a42ac711515481089 (patch) | |
tree | 4b4f013a14b4820b21a8acbeb1ccb34e5d4c4da4 /drivers/platform/x86/amd-pmc.c | |
parent | 272479928172edf0d2f2259ca0bdb414328e11a4 (diff) | |
download | linux-692562abcc6ecc8c8afe4c5a42ac711515481089.tar.bz2 |
platform/x86: hp_accel: Use SIMPLE_DEV_PM_OPS() for PM ops
After the commit 34570a898eef ("platform/x86: hp_accel: Remove
_INI method call") there is no need to have separate methods for
resume and restore, hence we may fold them together and use
SIMPLE_DEV_PM_OPS() for PM ops.
While at it, switch to use __maybe_unused attribute.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20211206151521.22578-1-andriy.shevchenko@linux.intel.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform/x86/amd-pmc.c')
0 files changed, 0 insertions, 0 deletions