diff mbox series

[v3,1/3] net: ftmac100: change driver name from nds32_mac to ftmac100

Message ID 20230203190904.2448780-1-saproj@gmail.com
State Accepted
Commit e9a1d8bfc95dd971426fdb6ee951040c9f2bbcea
Delegated to: Ramon Fried
Headers show
Series [v3,1/3] net: ftmac100: change driver name from nds32_mac to ftmac100 | expand

Commit Message

Sergei Antonov Feb. 3, 2023, 7:09 p.m. UTC
So it will be named similarly to the related ftgmac100 driver.
The old name 'nds32_mac' is not referred to anywhere in U-Boot.

Signed-off-by: Sergei Antonov <saproj@gmail.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
---

v2 -> v3:
no change

v1 -> v2:
no change

 drivers/net/ftmac100.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Rick Chen Feb. 9, 2023, 2 a.m. UTC | #1
> From: U-Boot <u-boot-bounces@lists.denx.de> On Behalf Of Sergei Antonov
> Sent: Saturday, February 04, 2023 3:09 AM
> To: u-boot@lists.denx.de; rfried.dev@gmail.com; joe.hershberger@ni.com
> Cc: Sergei Antonov <saproj@gmail.com>
> Subject: [PATCH v3 1/3] net: ftmac100: change driver name from nds32_mac to ftmac100
>
> So it will be named similarly to the related ftgmac100 driver.
> The old name 'nds32_mac' is not referred to anywhere in U-Boot.
>
> Signed-off-by: Sergei Antonov <saproj@gmail.com>
> Reviewed-by: Ramon Fried <rfried.dev@gmail.com>

Reviewed-by: Rick Chen <rick@andestech.com>
Tom Rini Feb. 10, 2023, 6:44 p.m. UTC | #2
On Fri, Feb 03, 2023 at 10:09:02PM +0300, Sergei Antonov wrote:

> So it will be named similarly to the related ftgmac100 driver.
> The old name 'nds32_mac' is not referred to anywhere in U-Boot.
> 
> Signed-off-by: Sergei Antonov <saproj@gmail.com>
> Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
> Reviewed-by: Rick Chen <rick@andestech.com>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/drivers/net/ftmac100.c b/drivers/net/ftmac100.c
index f710c271c64b..7c89d7f67b8d 100644
--- a/drivers/net/ftmac100.c
+++ b/drivers/net/ftmac100.c
@@ -348,7 +348,7 @@  static const struct udevice_id ftmac100_ids[] = {
 };
 
 U_BOOT_DRIVER(ftmac100) = {
-	.name	= "nds32_mac",
+	.name	= "ftmac100",
 	.id	= UCLASS_ETH,
 	.of_match = ftmac100_ids,
 	.bind	= ftmac100_bind,