[PATCH 1/2] serial/amba-pl011: use devm_* allocators

Greg Kroah-Hartman gregkh at linuxfoundation.org
Mon Jun 18 20:34:27 EDT 2012


On Sun, Jun 17, 2012 at 03:44:08PM +0200, 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>
> ---
>  drivers/tty/serial/amba-pl011.c |   20 ++++++++------------
>  1 file changed, 8 insertions(+), 12 deletions(-)
> 

This patch doesn't apply, what tree did you make it against?

greg k-h



More information about the linux-arm-kernel mailing list