]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
serial: pch_uart: Remove legacy PM hook
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 17 Jan 2025 14:13:12 +0000 (16:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Feb 2025 13:38:36 +0000 (14:38 +0100)
The legacy PM hook was never implemented. If we would like to achieve this,
the entire serial subsystem should switch to use runtime PM first. For now,
remove unneeded code.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20250117141313.592645-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/pch_uart.c

index c7cee5fee60372d93330a77ebe76f8ec11b5ef3b..508e8c6f01d4d2cad0464189d65396ecd2ca9131 100644 (file)
@@ -1515,7 +1515,6 @@ static const struct uart_ops pch_uart_ops = {
        .startup = pch_uart_startup,
        .shutdown = pch_uart_shutdown,
        .set_termios = pch_uart_set_termios,
-/*     .pm             = pch_uart_pm,          Not supported yet */
        .type = pch_uart_type,
        .release_port = pch_uart_release_port,
        .request_port = pch_uart_request_port,