Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

serial: omap: delete .set_wake callback

This callback is unused by the serial core since pre-git days
and is not coming back. Delete it. Enabling wakeup on the
OMAP serial driver is done through other runpaths these days.

Cc: Tony Lindgren <tony@atomide.com>
Cc: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Linus Walleij and committed by
Greg Kroah-Hartman
e701bcad c476f658

-10
-10
drivers/tty/serial/omap-serial.c
··· 1060 1060 dev_dbg(up->port.dev, "serial_omap_set_termios+%d\n", up->port.line); 1061 1061 } 1062 1062 1063 - static int serial_omap_set_wake(struct uart_port *port, unsigned int state) 1064 - { 1065 - struct uart_omap_port *up = to_uart_omap_port(port); 1066 - 1067 - serial_omap_enable_wakeup(up, state); 1068 - 1069 - return 0; 1070 - } 1071 - 1072 1063 static void 1073 1064 serial_omap_pm(struct uart_port *port, unsigned int state, 1074 1065 unsigned int oldstate) ··· 1392 1401 .shutdown = serial_omap_shutdown, 1393 1402 .set_termios = serial_omap_set_termios, 1394 1403 .pm = serial_omap_pm, 1395 - .set_wake = serial_omap_set_wake, 1396 1404 .type = serial_omap_type, 1397 1405 .release_port = serial_omap_release_port, 1398 1406 .request_port = serial_omap_request_port,