commit | d044d2356f8dd18c755e13f34318bc03ef9c6887 | [log] [tgz] |
---|---|---|
author | Felipe Balbi <balbi@ti.com> | Wed Apr 23 09:58:33 2014 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Apr 24 16:19:02 2014 -0700 |
tree | 16d90ad7c32bdd3a8fb324c02d4242a43e8d27cc | |
parent | 54af692c9fcd736977bc94293c73997e94f17378 [diff] |
tty: serial: omap: switch over to devm_ioremap_resource just using helper function to remove some duplicated code a bit. While at that, also move allocation of struct uart_omap_port higher in the code so that we return much earlier in case of no memory. Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>