mtd: davinci_nand: Use managed resources
authorMrugesh Katepallewar <mrugesh.mk@ti.com>
Thu, 7 Feb 2013 10:33:15 +0000 (16:03 +0530)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Wed, 13 Feb 2013 13:14:02 +0000 (15:14 +0200)
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@ti.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>

No differences found