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>
This commit is contained in:
Geert Uytterhoeven 2014-03-11 11:11:20 +01:00 committed by Greg Kroah-Hartman
parent 26de4f1b2f
commit d3dfe5d9b4

View file

@ -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: