summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-dw.h
diff options
context:
space:
mode:
authorPhil Reid <preid@electromag.com.au>2017-01-06 12:35:13 +0300
committerMark Brown <broonie@kernel.org>2017-01-09 14:22:14 +0300
commite70002c80d4de20a5c61c16ecd4f40a48be3efcf (patch)
treede3b927ab44c473763634412bc2a9967aefc1a94 /drivers/spi/spi-dw.h
parentcf1716e9dae5b21b9bbcfe5eb0106c3b0aee37e8 (diff)
downloadlinux-e70002c80d4de20a5c61c16ecd4f40a48be3efcf.tar.xz
spi: dw: Make debugfs use bus num and make irq name unique
Instead of using device name it was suggested that bus number was more appropriate to differentiate debugfs names. Also reduce buffer size to more realistic 32 bytes instead of 128. When request_irq is called the bus number may not be assigned. Therefore the irq name was not unique when dynamic bus number was being used. As per most of the spi drivers use the device name instead. No other use of dws->name could be found so it was removed. Signed-off-by: Phil Reid <preid@electromag.com.au> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-dw.h')
-rw-r--r--drivers/spi/spi-dw.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi-dw.h b/drivers/spi/spi-dw.h
index c21ca02f8ec5..da5eab62df34 100644
--- a/drivers/spi/spi-dw.h
+++ b/drivers/spi/spi-dw.h
@@ -101,7 +101,6 @@ struct dw_spi_dma_ops {
struct dw_spi {
struct spi_master *master;
enum dw_ssi_type type;
- char name[16];
void __iomem *regs;
unsigned long paddr;