pch_dma: use module_pci_driver to simplify the code
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 10 Oct 2012 13:04:58 +0000 (21:04 +0800)
committerVinod Koul <vinod.koul@intel.com>
Mon, 7 Jan 2013 04:57:46 +0000 (20:57 -0800)
commit53b9989bc75e185d0bf946e939ebe8534c8a9740
tree3d5bf76ea555cc369e930cb1af7eff48bfb9038c
parentc6a0aec9216064f756c4eda80be0720707c898d5
pch_dma: use module_pci_driver to simplify the code

Use the module_pci_driver() macro to make the code simpler
by eliminating module_init and module_exit calls.

dpatch engine is used to auto generate this patch.
(https://github.com/weiyj/dpatch)

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
drivers/dma/pch_dma.c