[PATCH 2/2] spi: atmel-quadspi: remove struct platform_device usage

Marco Felsch m.felsch at pengutronix.de
Mon Jan 30 15:45:01 PST 2023


The pdev member is unused neither do have barebox support for 'struct
platform_device' so remove the usage.

Signed-off-by: Marco Felsch <m.felsch at pengutronix.de>
---
 drivers/spi/atmel-quadspi.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/spi/atmel-quadspi.c b/drivers/spi/atmel-quadspi.c
index 55ebccc877..973d425a0d 100644
--- a/drivers/spi/atmel-quadspi.c
+++ b/drivers/spi/atmel-quadspi.c
@@ -157,7 +157,6 @@ struct atmel_qspi {
 	void __iomem		*mem;
 	struct clk		*pclk;
 	struct clk		*qspick;
-	struct platform_device	*pdev;
 	const struct atmel_qspi_caps *caps;
 	u32			mr;
 };
-- 
2.30.2




More information about the barebox mailing list