diff options
author | Serge Semin <Sergey.Semin@baikalelectronics.ru> | 2020-05-22 02:07:53 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-05-22 14:45:54 +0200 |
commit | 595c19d4543fed18384fd7d1edf6f381d4eed34e (patch) | |
tree | eb0958bf057d5f4b94766c9be616979694d864d6 /drivers/spi | |
parent | spi: dw: Discard static DW DMA slave structures (diff) | |
download | linux-595c19d4543fed18384fd7d1edf6f381d4eed34e.tar.xz linux-595c19d4543fed18384fd7d1edf6f381d4eed34e.zip |
spi: dw: Discard unused void priv pointer
Seeing the "void *priv" member of the dw_spi data structure is unused
let's remove it. The glue-layers can embed the DW APB SSI controller
descriptor into their private data object. MMIO driver for instance
already utilizes that design pattern.
Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Georgy Vlasov <Georgy.Vlasov@baikalelectronics.ru>
Cc: Ramil Zaripov <Ramil.Zaripov@baikalelectronics.ru>
Cc: Alexey Malahov <Alexey.Malahov@baikalelectronics.ru>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Paul Burton <paulburton@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: devicetree@vger.kernel.org
Link: https://lore.kernel.org/r/20200522000806.7381-5-Sergey.Semin@baikalelectronics.ru
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/spi-dw.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/spi/spi-dw.h b/drivers/spi/spi-dw.h index e1b565438f23..0aa3a4be1046 100644 --- a/drivers/spi/spi-dw.h +++ b/drivers/spi/spi-dw.h @@ -147,8 +147,6 @@ struct dw_spi { dma_addr_t dma_addr; /* phy address of the Data register */ const struct dw_spi_dma_ops *dma_ops; - /* Bus interface info */ - void *priv; #ifdef CONFIG_DEBUG_FS struct dentry *debugfs; #endif |