spi: spi-rspi: simplify getting .driver_data
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Sun, 21 Oct 2018 20:00:45 +0000 (22:00 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 5 Nov 2018 11:54:50 +0000 (11:54 +0000)
commitbe0bf62e3df9afcb3f7a72de347770568dd60af6
treeebc422c97c6de7e218ca7c712753cda7c2f2d695
parent6eee6d317aa2511ea86c4f8f28d79bfd3d621826
spi: spi-rspi: 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-rspi.c