Re: [PATCH V1 1/2] i2c: tegra: make all resource allocation throughdevm_*

From: Stephen Warren
Date: Mon May 07 2012 - 12:18:48 EST


On 05/07/2012 12:46 AM, Laxman Dewangan wrote:
> Use the devm_* for the memory region allocation, interrupt request,
> clock handler request.
> By doing this, it does not require to explicitly free it and hence
> saving some code.
>
> Signed-off-by: Laxman Dewangan <ldewangan@xxxxxxxxxx>

Acked-by: Stephen Warren <swarren@xxxxxxxxxxxxx>

Note thought that devm_clk_get() appears to have been introduced very
recently in linux-next, so in order to merge this patch one of the
following has to happen:

a) This patch goes through the tree that merged the addition of
devm_clk_get() (which I think is Russell King's ARM tree)

b) Whichever tree takes this patch must first merge a branch that
contains that patch that adds devm_clk_get().
--
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/