dmaengine: at_xdmac: simplify getting .drvdata
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Sun, 22 Apr 2018 09:14:10 +0000 (11:14 +0200)
committerVinod Koul <vkoul@kernel.org>
Sun, 22 Apr 2018 16:06:10 +0000 (21:36 +0530)
commitede2b295033f52c35acc089db76b71cd7f4bf243
tree0854de45852ee9a2e4c3eb08a9172e0b8beafd8d
parent5c4a74a4144a6c394fd7ca4760f779129075d636
dmaengine: at_xdmac: simplify getting .drvdata

We should get drvdata from struct device directly. Going via
platform_device is an unneeded step back and forth.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/at_xdmac.c