Re: [PATCH 2/6] dmaengine: at_xdmac: simplify getting .drvdata

2018-04-22 Thread Ludovic Desroches
On Sun, Apr 22, 2018 at 11:14:10AM +0200, Wolfram Sang wrote: > We should get drvdata from struct device directly. Going via > platform_device is an unneeded step back and forth. > > Signed-off-by: Wolfram Sang Acked-by: Ludovic Desroches

Re: [PATCH 2/6] dmaengine: at_xdmac: simplify getting .drvdata

2018-04-22 Thread Ludovic Desroches
On Sun, Apr 22, 2018 at 11:14:10AM +0200, Wolfram Sang wrote: > We should get drvdata from struct device directly. Going via > platform_device is an unneeded step back and forth. > > Signed-off-by: Wolfram Sang Acked-by: Ludovic Desroches Thanks > --- > > Build tested only. buildbot is happy.

[PATCH 2/6] dmaengine: at_xdmac: simplify getting .drvdata

2018-04-22 Thread Wolfram Sang
We should get drvdata from struct device directly. Going via platform_device is an unneeded step back and forth. Signed-off-by: Wolfram Sang --- Build tested only. buildbot is happy. Please apply to your tree directly. drivers/dma/at_xdmac.c | 9 +++-- 1

[PATCH 2/6] dmaengine: at_xdmac: simplify getting .drvdata

2018-04-22 Thread Wolfram Sang
We should get drvdata from struct device directly. Going via platform_device is an unneeded step back and forth. Signed-off-by: Wolfram Sang --- Build tested only. buildbot is happy. Please apply to your tree directly. drivers/dma/at_xdmac.c | 9 +++-- 1 file changed, 3 insertions(+), 6