dmaengine/dw_dmac: Use dev_get_platdata() instead of accessing dev directly
authorViresh Kumar <viresh.kumar@st.com>
Wed, 1 Feb 2012 10:42:22 +0000 (16:12 +0530)
committerVinod Koul <vinod.koul@linux.intel.com>
Wed, 22 Feb 2012 12:45:38 +0000 (18:15 +0530)
commit6c618c9de5f2b4b43c30c6203869620bec6ed929
tree53c0ae0808ee6d32e8a9d1fe256db4df66fb48c6
parente8d9f875c9b02bb56ba3bb44834ae81ba0e8efbc
dmaengine/dw_dmac: Use dev_get_platdata() instead of accessing dev directly

Use already defined function dev_get_platdata() instead of accessing
pdev->dev.data.

Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
drivers/dma/dw_dmac.c