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

Robert Jarzmik robert.jarzmik at free.fr
Sat Apr 21 12:35:21 PDT 2018


Wolfram Sang <wsa+renesas at sang-engineering.com> 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 <wsa+renesas at sang-engineering.com>
Acked-by: Robert Jarzmik <robert.jarzmik at free.fr>

Cheers.

--
Robert



More information about the linux-mtd mailing list