serial: 8250_pnp: Switch to DEFINE_SIMPLE_DEV_PM_OPS()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 22 Apr 2024 08:32:37 +0000 (11:32 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 4 May 2024 16:09:49 +0000 (18:09 +0200)
commit6bb34cf737f85e1f9990266eb5534c4e8e302584
treedf253da2ce4083b23edea4abb67bdde76b64fac9
parentaa0bb2092e090872739a32928feb12729f97bb9a
serial: 8250_pnp: Switch to DEFINE_SIMPLE_DEV_PM_OPS()

The SIMPLE_DEV_PM_OPS() is deprecated, replace it with the
DEFINE_SIMPLE_DEV_PM_OPS() and use pm_sleep_ptr() for setting
the driver's PM routines.

Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20240422083237.207447-1-andy.shevchenko@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_pnp.c