[PATCH 47/61] staging: greybus: simplify getting .drvdata

Johan Hovold johan at kernel.org
Fri Apr 20 07:23:18 UTC 2018


On Thu, Apr 19, 2018 at 04:06:17PM +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 at sang-engineering.com>

Acked-by: Johan Hovold <johan at kernel.org>


More information about the devel mailing list