[PATCH] mtd: davinci_nand: Use managed resources

Artem Bityutskiy artem.bityutskiy at linux.intel.com
Wed Feb 13 08:13:50 EST 2013


On Thu, 2013-02-07 at 16:03 +0530, Mrugesh Katepallewar wrote:
> davinci_nand driver currently uses normal kzalloc, ioremap and get_clk
> routines. This patch replaces these routines with devm_kzalloc,
> devm_request_and_ioremap and devm_clk_get resp.
> 
> Signed-off-by: Mrugesh Katepallewar <mrugesh.mk at ti.com>

Pushed to l2-mtd.git, thanks!

P.S. you could also kill the unneeded duplicated labels, but this is not
a big deal.

-- 
Best Regards,
Artem Bityutskiy




More information about the linux-mtd mailing list