mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/2] net: ks8851_mll: drop platform_device usage
@ 2023-01-30 23:45 Marco Felsch
  2023-01-30 23:45 ` [PATCH 2/2] spi: atmel-quadspi: remove struct " Marco Felsch
  2023-01-31  8:17 ` [PATCH 1/2] net: ks8851_mll: drop " Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Marco Felsch @ 2023-01-30 23:45 UTC (permalink / raw)
  To: barebox

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@pengutronix.de>
---
 drivers/net/ks8851_mll.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/net/ks8851_mll.c b/drivers/net/ks8851_mll.c
index 7609623ad1..6d74a16ac9 100644
--- a/drivers/net/ks8851_mll.c
+++ b/drivers/net/ks8851_mll.c
@@ -353,7 +353,6 @@
  * struct ks_net - KS8851 driver private data
  * @hw_addr	: start address of data register.
  * @hw_addr_cmd	: start address of command register.
- * @pdev	: Pointer to platform device.
  * @bus_width	: i/o bus width.
  * @extra_byte	: number of extra byte prepended rx pkt.
  *
@@ -364,7 +363,6 @@ struct ks_net {
 	struct mii_bus	miibus;
 	void __iomem		*hw_addr;
 	void __iomem		*hw_addr_cmd;
-	struct platform_device	*pdev;
 	int			bus_width;
 	void			*rx_buf;
 };
-- 
2.30.2




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 2/2] spi: atmel-quadspi: remove struct platform_device usage
  2023-01-30 23:45 [PATCH 1/2] net: ks8851_mll: drop platform_device usage Marco Felsch
@ 2023-01-30 23:45 ` Marco Felsch
  2023-01-31  8:17 ` [PATCH 1/2] net: ks8851_mll: drop " Sascha Hauer
  1 sibling, 0 replies; 3+ messages in thread
From: Marco Felsch @ 2023-01-30 23:45 UTC (permalink / raw)
  To: barebox

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@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




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] net: ks8851_mll: drop platform_device usage
  2023-01-30 23:45 [PATCH 1/2] net: ks8851_mll: drop platform_device usage Marco Felsch
  2023-01-30 23:45 ` [PATCH 2/2] spi: atmel-quadspi: remove struct " Marco Felsch
@ 2023-01-31  8:17 ` Sascha Hauer
  1 sibling, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2023-01-31  8:17 UTC (permalink / raw)
  To: Marco Felsch; +Cc: barebox

On Tue, Jan 31, 2023 at 12:45:00AM +0100, Marco Felsch wrote:
> 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@pengutronix.de>
> ---
>  drivers/net/ks8851_mll.c | 2 --
>  1 file changed, 2 deletions(-)

Applied, thanks

Sascha

> 
> diff --git a/drivers/net/ks8851_mll.c b/drivers/net/ks8851_mll.c
> index 7609623ad1..6d74a16ac9 100644
> --- a/drivers/net/ks8851_mll.c
> +++ b/drivers/net/ks8851_mll.c
> @@ -353,7 +353,6 @@
>   * struct ks_net - KS8851 driver private data
>   * @hw_addr	: start address of data register.
>   * @hw_addr_cmd	: start address of command register.
> - * @pdev	: Pointer to platform device.
>   * @bus_width	: i/o bus width.
>   * @extra_byte	: number of extra byte prepended rx pkt.
>   *
> @@ -364,7 +363,6 @@ struct ks_net {
>  	struct mii_bus	miibus;
>  	void __iomem		*hw_addr;
>  	void __iomem		*hw_addr_cmd;
> -	struct platform_device	*pdev;
>  	int			bus_width;
>  	void			*rx_buf;
>  };
> -- 
> 2.30.2
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-01-31  8:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-30 23:45 [PATCH 1/2] net: ks8851_mll: drop platform_device usage Marco Felsch
2023-01-30 23:45 ` [PATCH 2/2] spi: atmel-quadspi: remove struct " Marco Felsch
2023-01-31  8:17 ` [PATCH 1/2] net: ks8851_mll: drop " Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox