serial: imx: Use devm_ioremap_resource()
authorAlexander Shiyan <shc_work@mail.ru>
Sat, 22 Feb 2014 12:01:33 +0000 (16:01 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 1 Mar 2014 00:36:45 +0000 (16:36 -0800)
commitda82f997240a7876a40aa196c60a1e462cc91e9f
tree4568822fe600286539f6096777e9a204faa82f98
parenta9c3f68f3cd8d55f809fbdb0c138ed061ea1bd25
serial: imx: Use devm_ioremap_resource()

Use devm_ioremap_resource() in order to make the code simpler and
it gives proper codes on errors.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/imx.c