Messages in this thread | | | Date | Tue, 12 Mar 2013 20:29:25 +0800 | Subject | Re: [PATCH] video: mxsfb: Convert to devm_ioremap_resource() | From | Shawn Guo <> |
| |
On 12 March 2013 20:06, Shawn Guo <shawn.guo@linaro.org> wrote: > On Mon, Mar 11, 2013 at 08:52:17PM -0300, Fabio Estevam wrote: >> From: Fabio Estevam <fabio.estevam@freescale.com> >> >> 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
| |