From: Felipe Balbi Date: Wed, 23 Apr 2014 14:58:33 +0000 (-0500) Subject: tty: serial: omap: switch over to devm_ioremap_resource X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~35^2~70 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d044d2356f8dd18c755e13f34318bc03ef9c6887;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed