serial: omap: refactor receive_chars() into rdi/rlsi handlers
authorFelipe Balbi <balbi@ti.com>
Thu, 6 Sep 2012 12:45:24 +0000 (15:45 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 16:17:01 +0000 (09:17 -0700)
commit72256cbd13904d4b4dbb16f5ec83a3293bb292c5
tree2545dcedf56c07f2e8964a9eb415f8250cc67c19
parent81b75aef11abfd7b51e719a5388189eefa82e997
serial: omap: refactor receive_chars() into rdi/rlsi handlers

receive_chars() was getting too big and too difficult
to follow. By splitting it into separate RDI and RSLI
handlers, we have smaller functions which are easy
to understand and only touch the pieces which they need
to touch.

Tested-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/omap-serial.c