spi: spi-sh-msiof: simplify getting .driver_data
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Sun, 21 Oct 2018 20:00:46 +0000 (22:00 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 5 Nov 2018 11:54:20 +0000 (11:54 +0000)
commit07c7df3ecdba3d8b9a4145edd9cac47b27dd7f67
treec29011274ae92cfeb34fb0672e99ddc38f085103
parent2a35a643f138a97e3bfee0c599c72e5ca80ebe7c
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>
drivers/spi/spi-sh-msiof.c