spi: mxic: simplify getting .driver_data
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 19 Mar 2019 16:36:37 +0000 (17:36 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 20 Mar 2019 17:20:29 +0000 (17:20 +0000)
commitf457cb707836e79a88b64ab22230edc2aa8ce0af
treecb8eac8f0cd39ecda813a80cca8e0dbb5ae3c362
parent43a8d240eee4f523c7120f47a4c9469f5abfb308
spi: mxic: 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-mxic.c