imx: Add save/restore functions for UART control regs
authorDirk Behme <dirk.behme@googlemail.com>
Thu, 22 Dec 2011 08:57:52 +0000 (09:57 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 5 Jan 2012 00:30:35 +0000 (16:30 -0800)
commit0ad5a81472a9d6a0e826e0c6ebe66d3792932a93
tree812d6c7f681da8eeacf6dbdef7cc40d176c1ff2e
parent20bb8095a467dde88bd09a55ed62c60fada2e5c9
imx: Add save/restore functions for UART control regs

Factor out the uart save/restore functionality instead of
having the same code several times in the driver.

Signed-off-by: Dirk Behme <dirk.behme@gmail.com>
CC: Saleem Abdulrasool <compnerd@compnerd.org>
CC: Sascha Hauer <s.hauer@pengutronix.de>
CC: Fabio Estevam <festevam@gmail.com>
CC: Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>
CC: linux-serial@vger.kernel.org
CC: Alan Cox <alan@linux.intel.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/tty/serial/imx.c