dma: intel_mid_dma: remove redundant pci_set_drvdata calls
authorAxel Lin <axel.lin@gmail.com>
Tue, 19 Jul 2011 06:48:17 +0000 (14:48 +0800)
committerVinod Koul <vinod.koul@intel.com>
Tue, 26 Jul 2011 10:03:27 +0000 (15:03 +0530)
commitadd56ba711627c223e9e356d9398642abf7fa32d
treed48443b296ccef6bae9cd956f31d5caf5f8e0b0e
parent2a9778ed83b142e88cb38acc496a573a3472d27f
dma: intel_mid_dma: remove redundant pci_set_drvdata calls

Call pci_set_drvdata() once in intel_mid_dma_probe() is enough.
Remove redundant pci_set_drvdata() calls in dma_suspend() and dma_resume().

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/intel_mid_dma.c