diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2022-10-25 15:38:50 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2022-10-26 11:25:49 -0500 |
commit | 8c1f82c710f18c5f51c3b43402cd8175d6655369 (patch) | |
tree | 7eb0a78a8ef08e845eba93c9022f634c190c2772 /drivers/comedi/proc.c | |
parent | 11a8d8774e68e07385a5b10d9546598f57ace7da (diff) |
agp/amd64: Update to DEFINE_SIMPLE_DEV_PM_OPS()
As of 1a3c7bb08826 ("PM: core: Add new *_PM_OPS macros, deprecate old
ones"), SIMPLE_DEV_PM_OPS() is deprecated in favor of
DEFINE_SIMPLE_DEV_PM_OPS(), which has the advantage that the PM callbacks
don't need to be wrapped with #ifdef CONFIG_PM or tagged with
__maybe_unused.
Convert to DEFINE_SIMPLE_DEV_PM_OPS(). No functional change intended.
Link: https://lore.kernel.org/r/20221025203852.681822-7-helgaas@kernel.org
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/comedi/proc.c')
0 files changed, 0 insertions, 0 deletions