summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@linux-m68k.org>2014-03-11 11:11:20 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-03-17 16:20:49 -0700
commitd3dfe5d9b4c8b3156b28f99f7a4a59ad8be09b15 (patch)
treed44273c51c4c4a61068e850b102f1c0596e84739 /drivers
parent26de4f1b2fb45e53a9e8f4f913b9cdf6c294070b (diff)
downloadlinux-d3dfe5d9b4c8b3156b28f99f7a4a59ad8be09b15.tar.bz2
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/tty/serial/sh-sci.c2
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,
struct sci_port *sci_port = to_sci_port(port);
switch (state) {
- case 3:
+ case UART_PM_STATE_OFF:
sci_port_disable(sci_port);
break;
default: