| Subject | Re: [PATCH 02/61] ata: simplify getting .drvdata | From | Sergei Shtylyov <> | Date | Thu, 19 Apr 2018 19:22:33 +0300 |
| |
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@sang-engineering.com> [...]
MBR, Sergei
|