[PATCH 29/61] mtd: devices: simplify getting .drvdata

2018-04-19 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 individually. drivers/mtd/devices/docg3.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)

Re: [PATCH 29/61] mtd: devices: simplify getting .drvdata

2018-04-21 Thread Robert Jarzmik
Wolfram Sang writes: > 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: Robert Jarzmik Cheers. -- Robert

Re: [PATCH 29/61] mtd: devices: simplify getting .drvdata

2018-04-22 Thread Boris Brezillon
On Thu, 19 Apr 2018 16:05:59 +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 Applied to mtd/next. Thanks, Boris > --- > > Build tested only. buildbot is happy. Ple