ARM: edma: Convert to devm_* api
authorLad, Prabhakar <prabhakar.csengg@gmail.com>
Mon, 17 Jun 2013 14:57:58 +0000 (20:27 +0530)
committerSekhar Nori <nsekhar@ti.com>
Tue, 18 Jun 2013 08:34:11 +0000 (14:04 +0530)
commite7eff702e086bb049bcf33c1338323165f3ec89e
treee97abe18972e2acccae69008bc0c5cf622f343f5
parent7bb5d75ce91ca3725256c0d502624ed697231cde
ARM: edma: Convert to devm_* api

Use devm_ioremap_resource instead of reques_mem_region()/ioremap(),
devm_request_irq() instead of request_irq() and kzalloc() calls to
devm_kzalloc().

This ensures more consistent error values and simplifies error paths.

Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
[nsekhar@ti.com: add missing err.h include]
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/common/edma.c