dmaengine: tegra-apb: Use dev_get_drvdata()
authorJon Hunter <jonathanh@nvidia.com>
Fri, 13 Nov 2015 16:39:39 +0000 (16:39 +0000)
committerVinod Koul <vinod.koul@intel.com>
Sat, 5 Dec 2015 10:43:08 +0000 (16:13 +0530)
commit286a6441a333abfa21a700683db5b3302f75a4de
tree0f1aac7d45521b8822b7b19f4effaf1856fbc0c7
parentedd3bdbe9db1415f744bb5da0752675ddbd9eee0
dmaengine: tegra-apb: Use dev_get_drvdata()

In the tegra_dma_runtime_suspend/resume functions, the pdev structure
is not needed, and so just call dev_get_drvdata() to get the device
data structure.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/tegra20-apb-dma.c