Re: [PATCH] ARM: imx: introduce function imx_free_mx3_camera

From: Dan Carpenter
Date: Thu May 22 2014 - 16:45:57 EST


On Thu, May 22, 2014 at 07:51:19PM +0200, Emil Goode wrote:
> We forgot to free pdev->dev.dma_mask on error after
> having called the imx_alloc_mx3_camera function.
> This patch introduces the imx_free_mx3_camera function
> that adds the missing kfree call and is practical for
> future usage with imx_alloc_mx3_camera().
>
> Signed-off-by: Emil Goode <emilgoode@xxxxxxxxx>

Fantastic. Thanks for this. :)

regards,
dan carpenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/