[PATCH RESEND] serial/amba-pl011: use devm_* managed resources

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Mon Oct 15 09:52:36 EDT 2012


On 13:36 Mon 15 Oct     , Linus Walleij wrote:
> From: Linus Walleij <linus.walleij at linaro.org>
> 
> 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 <linux/io.h> so fix up the
> erroneous <asm/*> include as well.
> 
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>

Best Regards,
J.



More information about the linux-arm-kernel mailing list