From: Linus Walleij Date: Mon, 15 Oct 2012 11:36:01 +0000 (+0200) Subject: serial/amba-pl011: use devm_* managed resources X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~83^2~95 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de609582072af195673e72d9e7647d5cba8eb7e4;p=pandora-kernel.git serial/amba-pl011: use devm_* managed resources This switches a bunch of allocation and remapping to use the devm_* garbage collected methods and cleans up the error path and remove() paths consequently. devm_ioremap() is only in so fix up the erroneous include as well. Signed-off-by: Linus Walleij Tested-by: Domenico Andreoli Acked-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed