serial: 8250_dw: Drop PM ifdeffery
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 30 Jun 2022 10:05:07 +0000 (13:05 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Jun 2022 15:10:52 +0000 (17:10 +0200)
commit808313bc2182ab60761eed82d2c345883fbc65a7
treeb18e1496be936528e9674999af96146f1804b231
parent6343ecd76c828951fbe55e7d5b29e1923655aed9
serial: 8250_dw: Drop PM ifdeffery

Drop CONFIG_PM and CONFIG_PM_SLEEP ifdeffery while converting dw8250_pm_ops
to use new PM macros. Since we are using runtime PM, wrap dw8250_pm_ops into
pm_ptr().

Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220630100507.31113-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_dw.c