spi: dw: use plain struct device * at earlier ->probe()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 14 Oct 2015 20:12:17 +0000 (23:12 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 19 Oct 2015 19:31:57 +0000 (20:31 +0100)
commit5f0966e61f0a65bef26b9fedbc1a4ab22a6f918b
treef72a479941eabbb797fbb13ed098c0a300ebe4fb
parent55f9a0706f60df4639010c91d6f28ce6b2351179
spi: dw: use plain struct device * at earlier ->probe()

The name of the master device is set during registrationg which happens after
we issue the error message. Change it to plain struct device * to see which
device registration failed.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-dw.c