mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Marco Felsch <m.felsch@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 1/2] net: ks8851_mll: drop platform_device usage
Date: Tue, 31 Jan 2023 00:45:00 +0100	[thread overview]
Message-ID: <20230130234501.1122060-1-m.felsch@pengutronix.de> (raw)

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




             reply	other threads:[~2023-01-30 23:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-30 23:45 Marco Felsch [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230130234501.1122060-1-m.felsch@pengutronix.de \
    --to=m.felsch@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox