Re: [PATCH 43/61] pwm: simplify getting .drvdata

From: Thierry Reding
Date: Mon Apr 30 2018 - 05:28:27 EST


On Thu, Apr 19, 2018 at 04:06:13PM +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 <wsa+renesas@xxxxxxxxxxxxxxxxxxxx>
> ---
>
> Build tested only. buildbot is happy. Please apply individually.
>
> drivers/pwm/pwm-atmel-tcb.c | 6 ++----
> drivers/pwm/pwm-rcar.c | 3 +--
> 2 files changed, 3 insertions(+), 6 deletions(-)

Applied, thanks.

Thierry

Attachment: signature.asc
Description: PGP signature