]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
serial: mpc52xx_uart: Remove legacy PM hook
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 17 Jan 2025 14:13:04 +0000 (16:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Feb 2025 13:38:32 +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/20250117141304.592611-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/mpc52xx_uart.c

index 2204cc3e3b07d0c43b1c97c2cc16299783c6a06b..37eb701b0b46e65e06136369edb9329b63b76809 100644 (file)
@@ -1351,7 +1351,6 @@ static const struct uart_ops mpc52xx_uart_ops = {
        .startup        = mpc52xx_uart_startup,
        .shutdown       = mpc52xx_uart_shutdown,
        .set_termios    = mpc52xx_uart_set_termios,
-/*     .pm             = mpc52xx_uart_pm,              Not supported yet */
        .type           = mpc52xx_uart_type,
        .release_port   = mpc52xx_uart_release_port,
        .request_port   = mpc52xx_uart_request_port,