diff options
author | Geert Uytterhoeven <geert+renesas@linux-m68k.org> | 2014-03-11 06:11:20 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-03-17 19:20:49 -0400 |
commit | d3dfe5d9b4c8b3156b28f99f7a4a59ad8be09b15 (patch) | |
tree | d44273c51c4c4a61068e850b102f1c0596e84739 | |
parent | 26de4f1b2fb45e53a9e8f4f913b9cdf6c294070b (diff) |
serial: sh-sci: Replace hardcoded 3 by UART_PM_STATE_OFF
Signed-off-by: Geert Uytterhoeven <geert+renesas@linux-m68k.org>
Acked-by: Simon Horman <horms@verge.net.au>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/tty/serial/sh-sci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c index 22a508a638b9..634ecae2efd4 100644 --- a/drivers/tty/serial/sh-sci.c +++ b/drivers/tty/serial/sh-sci.c | |||
@@ -1955,7 +1955,7 @@ static void sci_pm(struct uart_port *port, unsigned int state, | |||
1955 | struct sci_port *sci_port = to_sci_port(port); | 1955 | struct sci_port *sci_port = to_sci_port(port); |
1956 | 1956 | ||
1957 | switch (state) { | 1957 | switch (state) { |
1958 | case 3: | 1958 | case UART_PM_STATE_OFF: |
1959 | sci_port_disable(sci_port); | 1959 | sci_port_disable(sci_port); |
1960 | break; | 1960 | break; |
1961 | default: | 1961 | default: |