mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-18 22:34:48 +00:00
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>
This commit is contained in:
parent
c476f6584b
commit
e701bcadb2
@ -1060,15 +1060,6 @@ serial_omap_set_termios(struct uart_port *port, struct ktermios *termios,
|
|||||||
dev_dbg(up->port.dev, "serial_omap_set_termios+%d\n", up->port.line);
|
dev_dbg(up->port.dev, "serial_omap_set_termios+%d\n", up->port.line);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int serial_omap_set_wake(struct uart_port *port, unsigned int state)
|
|
||||||
{
|
|
||||||
struct uart_omap_port *up = to_uart_omap_port(port);
|
|
||||||
|
|
||||||
serial_omap_enable_wakeup(up, state);
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
serial_omap_pm(struct uart_port *port, unsigned int state,
|
serial_omap_pm(struct uart_port *port, unsigned int state,
|
||||||
unsigned int oldstate)
|
unsigned int oldstate)
|
||||||
@ -1401,7 +1392,6 @@ static struct uart_ops serial_omap_pops = {
|
|||||||
.shutdown = serial_omap_shutdown,
|
.shutdown = serial_omap_shutdown,
|
||||||
.set_termios = serial_omap_set_termios,
|
.set_termios = serial_omap_set_termios,
|
||||||
.pm = serial_omap_pm,
|
.pm = serial_omap_pm,
|
||||||
.set_wake = serial_omap_set_wake,
|
|
||||||
.type = serial_omap_type,
|
.type = serial_omap_type,
|
||||||
.release_port = serial_omap_release_port,
|
.release_port = serial_omap_release_port,
|
||||||
.request_port = serial_omap_request_port,
|
.request_port = serial_omap_request_port,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user