Re: [PATCH] video: mxsfb: Convert to devm_ioremap_resource()

From: Shawn Guo
Date: Tue Mar 12 2013 - 08:29:34 EST


On 12 March 2013 20:06, Shawn Guo <shawn.guo@xxxxxxxxxx> wrote:
> On Mon, Mar 11, 2013 at 08:52:17PM -0300, Fabio Estevam wrote:
>> From: Fabio Estevam <fabio.estevam@xxxxxxxxxxxxx>
>>
>> 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.
>
Actually I'm working on a series to convert mxsfb driver to generic
of_videomode bindings, and already had a cleanup patch to move all
these calls to managed functions. To ease the merge process, I plan
to have the series go via arm-soc tree.

Shawn
--
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/