Skip to content

Commit 595c19d

Browse files
fancerbroonie
authored andcommitted
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 <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Cc: Georgy Vlasov <[email protected]> Cc: Ramil Zaripov <[email protected]> Cc: Alexey Malahov <[email protected]> Cc: Thomas Bogendoerfer <[email protected]> Cc: Paul Burton <[email protected]> Cc: Ralf Baechle <[email protected]> Cc: Andy Shevchenko <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: Rob Herring <[email protected]> Cc: [email protected] Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 2afccbd commit 595c19d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/spi/spi-dw.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,6 @@ struct dw_spi {
147147
dma_addr_t dma_addr; /* phy address of the Data register */
148148
const struct dw_spi_dma_ops *dma_ops;
149149

150-
/* Bus interface info */
151-
void *priv;
152150
#ifdef CONFIG_DEBUG_FS
153151
struct dentry *debugfs;
154152
#endif

0 commit comments

Comments
 (0)