imx: Add save/restore functions for UART control regs
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 <65191830245723325aed938dddb6d81810e13fc4@gmail.com>
CC: Saleem Abdulrasool <d3629432f14a71b62e796d32d075121c69cf67de@compnerd.org>
CC: Sascha Hauer <c00cbc2b736c26791a3822db86f8796fe9efff67@pengutronix.de>
CC: Fabio Estevam <288a049a20dc4091188b72022d411ad1375e6737@gmail.com>
CC: Uwe Kleine-Koenig <181323dd666a182bc2d953e52d0ac3ab54cd8391@pengutronix.de>
CC: f97bd3735ebb06ec9fde555afdf685a9966cf521@vger.kernel.org
CC: Alan Cox <91e38e63b890fbb214c8914809fde03c73e7f24d@linux.intel.com>
Signed-off-by: Shawn Guo <912cf7eb7d8018e2943586ae6657d21fd4e38239@linaro.org>
Signed-off-by: Greg Kroah-Hartman <4645f7897fd33786a2ee1264d590b3c400559d85@suse.de>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas