Skip to contentSkip to conversation

serial: mpc52xx_uart: Remove legacy PM hook

PATCH New Andy Shevchenko 1 participant 1 message Jan 17, 2025 TTY layer and serial drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 serial: mpc52xx_uart: Remove legacy PM hook

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.

---
 drivers/tty/serial/mpc52xx_uart.c | 1 -
 1 file changed, 1 deletion(-)
drivers/tty/serial/mpc52xx_uart.c +0 -1
index 2204cc3e3b07..37eb701b0b46 100644
@@ -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,
Signature · 1 line
2.43.0.rc1.1336.g36b5255a03ac