summaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/amd-pmc.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2021-12-06 17:15:21 +0200
committerHans de Goede <hdegoede@redhat.com>2021-12-07 12:21:01 +0100
commit692562abcc6ecc8c8afe4c5a42ac711515481089 (patch)
tree4b4f013a14b4820b21a8acbeb1ccb34e5d4c4da4 /drivers/platform/x86/amd-pmc.c
parent272479928172edf0d2f2259ca0bdb414328e11a4 (diff)
downloadlinux-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