dmaengine: convert drivers/dma/* to use module_platform_driver()
authorAxel Lin <axel.lin@gmail.com>
Sat, 26 Nov 2011 07:11:12 +0000 (15:11 +0800)
committerVinod Koul <vinod.koul@linux.intel.com>
Mon, 5 Dec 2011 02:55:54 +0000 (08:25 +0530)
commitc94e910535be72f0c6ac0c69e6acd8d44414e80d
tree31cf8423282b9c20ee13a8a701f636d3697ed5e4
parentab59a510c6ad6b3add5125df64843be754782de6
dmaengine: convert drivers/dma/* to use module_platform_driver()

This patch converts the drivers in drivers/dma/* to use the
module_platform_driver() macro which makes the code smaller and a bit
simpler.

Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Piotr Ziecik <kosmo@semihalf.com>
Cc: Rongjun Ying <rongjun.ying@csr.com>
Cc: Barry Song <21cnbao@gmail.com>
Cc: Pelagicore AB <info@pelagicore.com>
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
drivers/dma/iop-adma.c
drivers/dma/mpc512x_dma.c
drivers/dma/sirf-dma.c
drivers/dma/timb_dma.c