max3110: add sysrq support
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>
Fri, 26 Aug 2011 10:25:35 +0000 (11:25 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 26 Aug 2011 18:01:15 +0000 (11:01 -0700)
commit51808f051ede81865b7af351d6c230a1ac244a22
tree434d609919c476e0679bc0260424639257d91f1c
parentefe3ed9837fd2f9679659673f1d2078f1597bf18
max3110: add sysrq support

This patch moves several occurences of similar code inside receive_chars(),
which now also takes care of checking for break and calling sysrq handling
code.

Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/tty/serial/mrst_max3110.c
drivers/tty/serial/mrst_max3110.h