agp/via: Update to DEFINE_SIMPLE_DEV_PM_OPS()
authorBjorn Helgaas <bhelgaas@google.com>
Tue, 25 Oct 2022 20:38:52 +0000 (15:38 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 26 Oct 2022 16:25:56 +0000 (11:25 -0500)
commit73fcd4520edb430684246448d096f8f17f107c97
treea9d125b1724778744ab44b524e26707a1c51578c
parent746e926b9fe327ace4be187144913abd7cfc2f4a
agp/via: 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-9-helgaas@kernel.org
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Dave Airlie <airlied@redhat.com>
drivers/char/agp/via-agp.c