Files
linux/drivers/pci/controller/cadence
Bjorn Helgaas 19b7858c33 PCI: Convert to new *_PM_OPS macros
Replace SET_*_PM_OPS with *_PM_OPS, which which have the advantage that the
compiler always sees the PM callbacks as referenced, so they don't need to
be wrapped with "#ifdef CONFIG_PM_SLEEP" or tagged with "__maybe_unused" to
avoid "defined but not used" warnings.

See 1a3c7bb088 ("PM: core: Add new *_PM_OPS macros, deprecate old ones").

Link: https://lore.kernel.org/r/[email protected]
Tested-by: Arnd Bergmann <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Pali Rohár <[email protected]>	# pci-mvebu.c
Reviewed-by: Arnd Bergmann <[email protected]>
2022-07-27 11:56:17 -05:00
..
2020-08-03 14:49:55 +01:00
2020-08-03 14:49:55 +01:00