aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2013-10-15 03:20:08 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-10-16 16:16:18 -0400
commite701bcadb254caf555d64af9662d5d5fbccade9d (patch)
treede4d8b3d6d5bc7bf2edcc52fc4284165e0634689 /drivers/tty
parentc476f6584b0011741b4f0316f1ac4aa3a99403e1 (diff)
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>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/serial/omap-serial.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/tty/serial/omap-serial.c b/drivers/tty/serial/omap-serial.c
index 7b00520624f9..c715778a745c 100644
--- a/drivers/tty/serial/omap-serial.c
+++ b/drivers/tty/serial/omap-serial.c
@@ -1060,15 +1060,6 @@ serial_omap_set_termios(struct uart_port *port, struct ktermios *termios,
1060 dev_dbg(up->port.dev, "serial_omap_set_termios+%d\n", up->port.line); 1060 dev_dbg(up->port.dev, "serial_omap_set_termios+%d\n", up->port.line);
1061} 1061}
1062 1062
1063static 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
1072static void 1063static void
1073serial_omap_pm(struct uart_port *port, unsigned int state, 1064serial_omap_pm(struct uart_port *port, unsigned int state,
1074 unsigned int oldstate) 1065 unsigned int oldstate)
@@ -1401,7 +1392,6 @@ static struct uart_ops serial_omap_pops = {
1401 .shutdown = serial_omap_shutdown, 1392 .shutdown = serial_omap_shutdown,
1402 .set_termios = serial_omap_set_termios, 1393 .set_termios = serial_omap_set_termios,
1403 .pm = serial_omap_pm, 1394 .pm = serial_omap_pm,
1404 .set_wake = serial_omap_set_wake,
1405 .type = serial_omap_type, 1395 .type = serial_omap_type,
1406 .release_port = serial_omap_release_port, 1396 .release_port = serial_omap_release_port,
1407 .request_port = serial_omap_request_port, 1397 .request_port = serial_omap_request_port,