spi: spi-sh-msiof: simplify getting .driver_data

We should get 'driver_data' from 'struct device' directly. Going via
platform_device is an unneeded step back and forth.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Wolfram Sang 2018-10-21 22:00:46 +02:00 • committed by Mark Brown
commit 07c7df3ecd
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0