Re: [PATCH 02/61] ata: simplify getting .drvdata
From: Sergei Shtylyov
Date: Thu Apr 19 2018 - 12:22:44 EST
Hello!
On 04/19/2018 05:05 PM, Wolfram Sang wrote:
> We should get drvdata from struct device directly. Going via
Note that the name of the field in the 'struct device' is driver_data,
not drvdata. Otherwise the patch looks good.
> platform_device is an unneeded step back and forth.
>
> Signed-off-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx>
[...]
MBR, Sergei