Re: [PATCH] pwm: rcar: simplify getting .drvdata

2018-04-09 Thread Simon Horman
On Thu, Apr 05, 2018 at 07:25:51PM +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 > --- > > Only build tested. Fixed numerous times

Re: [PATCH] pwm: rcar: simplify getting .drvdata

2018-04-09 Thread Geert Uytterhoeven
On Thu, Apr 5, 2018 at 7:25 PM, 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 Reviewed-by: Geert

RE: [PATCH] pwm: rcar: simplify getting .drvdata

2018-04-06 Thread Yoshihiro Shimoda
Hi Wolfram-san, > From: Wolfram Sang, Sent: Friday, April 6, 2018 2:26 AM > > We should get drvdata from struct device directly. Going via > platform_device is an unneeded step back and forth. > > Signed-off-by: Wolfram Sang > --- > > Only build tested. Fixed