Re: [PATCH] dma: mxs-dma: Convert to devm_ioremap_resource()

From: Shawn Guo
Date: Tue Mar 12 2013 - 08:14:13 EST


On 12 March 2013 20:04, Shawn Guo <shawn.guo@xxxxxxxxxx> wrote:
> On Mon, Mar 11, 2013 at 08:50:33PM -0300, Fabio Estevam wrote:
>> Converting to devm_ioremap_resource() can make the code cleaner and smaller.
>>
> While you are there, you may want to use devm_kzalloc() and
> devm_clk_get() as well.
>
I even forgot to mention that I already had a patch [1] doing that.

Shawn

[1] http://thread.gmane.org/gmane.linux.alsa.devel/106027/focus=220812
--
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/