diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2015-01-07 17:56:54 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-01-07 20:58:54 +0300 |
commit | 3dbb3b98e854bceed38fbde930fb8cf8701def73 (patch) | |
tree | e90f392aa26f6c39f685e1d10ea1b6debdb672bf /drivers/spi/spi-dw.c | |
parent | 67bf9cda4b498b8cea4a40be67a470afe57d2e88 (diff) | |
download | linux-3dbb3b98e854bceed38fbde930fb8cf8701def73.tar.xz |
spi: dw: amend warning message
In case of warning message in ->probe() we have to use HW device name instead
of master because last is not defined yet.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-dw.c')
-rw-r--r-- | drivers/spi/spi-dw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-dw.c b/drivers/spi/spi-dw.c index 1a0f266c4268..8edcd1b84562 100644 --- a/drivers/spi/spi-dw.c +++ b/drivers/spi/spi-dw.c @@ -673,7 +673,7 @@ int dw_spi_add_host(struct device *dev, struct dw_spi *dws) if (dws->dma_ops && dws->dma_ops->dma_init) { ret = dws->dma_ops->dma_init(dws); if (ret) { - dev_warn(&master->dev, "DMA init failed\n"); + dev_warn(dev, "DMA init failed\n"); dws->dma_inited = 0; } } |