]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit55a1f7c9a305aedd8860cb64e8f23a04f7a6df6d
treeb18e1496be936528e9674999af96146f1804b231
parentb5fc6bb4e964c3f127ac33a96daec9eb99caaf56
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