serial: sh-sci: Use incrementing pointers instead of stack array
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 21 Aug 2015 18:02:53 +0000 (20:02 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 16:33:48 +0000 (17:33 +0100)
commitba172c70451ed6688a31e27d8bb5a4631c2003de
tree471fa8b65791b393e9d9d356d46811ba6609809c
parent47b0e94a67d4ab771a05dd23a2c5cc5c2c533fdc
serial: sh-sci: Use incrementing pointers instead of stack array

There's no need to keep all buffer and DMA pointers on the stack.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sh-sci.c