* [PATCH net-next] net: phy: drop explicit genphy_read_status() op
@ 2021-02-09 1:00 Michael Walle
2021-02-09 1:23 ` Andrew Lunn
2021-02-09 19:20 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 3+ messages in thread
From: Michael Walle @ 2021-02-09 1:00 UTC (permalink / raw)
To: netdev, linux-kernel
Cc: Andrew Lunn, Heiner Kallweit, Russell King, David S . Miller,
Jakub Kicinski, Michael Walle
genphy_read_status() is already the default for the .read_status() op.
Drop the unnecessary references.
Signed-off-by: Michael Walle <michael@walle.cc>
---
drivers/net/phy/marvell.c | 1 -
drivers/net/phy/micrel.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c
index 620052c023a5..b523aa37ebf0 100644
--- a/drivers/net/phy/marvell.c
+++ b/drivers/net/phy/marvell.c
@@ -2852,7 +2852,6 @@ static struct phy_driver marvell_drivers[] = {
.probe = marvell_probe,
.config_init = m88e1145_config_init,
.config_aneg = m88e1101_config_aneg,
- .read_status = genphy_read_status,
.config_intr = marvell_config_intr,
.handle_interrupt = marvell_handle_interrupt,
.resume = genphy_resume,
diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c
index 39c7c786a912..494abf608b8f 100644
--- a/drivers/net/phy/micrel.c
+++ b/drivers/net/phy/micrel.c
@@ -1368,7 +1368,6 @@ static struct phy_driver ksphy_driver[] = {
.driver_data = &ksz9021_type,
.probe = kszphy_probe,
.config_init = ksz9131_config_init,
- .read_status = genphy_read_status,
.config_intr = kszphy_config_intr,
.handle_interrupt = kszphy_handle_interrupt,
.get_sset_count = kszphy_get_sset_count,
--
2.20.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] net: phy: drop explicit genphy_read_status() op
2021-02-09 1:00 [PATCH net-next] net: phy: drop explicit genphy_read_status() op Michael Walle
@ 2021-02-09 1:23 ` Andrew Lunn
2021-02-09 19:20 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: Andrew Lunn @ 2021-02-09 1:23 UTC (permalink / raw)
To: Michael Walle
Cc: netdev, linux-kernel, Heiner Kallweit, Russell King,
David S . Miller, Jakub Kicinski
On Tue, Feb 09, 2021 at 02:00:18AM +0100, Michael Walle wrote:
> genphy_read_status() is already the default for the .read_status() op.
> Drop the unnecessary references.
>
> Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Andrew
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] net: phy: drop explicit genphy_read_status() op
2021-02-09 1:00 [PATCH net-next] net: phy: drop explicit genphy_read_status() op Michael Walle
2021-02-09 1:23 ` Andrew Lunn
@ 2021-02-09 19:20 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-02-09 19:20 UTC (permalink / raw)
To: Michael Walle
Cc: netdev, linux-kernel, andrew, hkallweit1, linux, davem, kuba
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
On Tue, 9 Feb 2021 02:00:18 +0100 you wrote:
> genphy_read_status() is already the default for the .read_status() op.
> Drop the unnecessary references.
>
> Signed-off-by: Michael Walle <michael@walle.cc>
> ---
> drivers/net/phy/marvell.c | 1 -
> drivers/net/phy/micrel.c | 1 -
> 2 files changed, 2 deletions(-)
Here is the summary with links:
- [net-next] net: phy: drop explicit genphy_read_status() op
https://git.kernel.org/netdev/net-next/c/f15008fbaa33
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-02-09 23:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-09 1:00 [PATCH net-next] net: phy: drop explicit genphy_read_status() op Michael Walle
2021-02-09 1:23 ` Andrew Lunn
2021-02-09 19:20 ` patchwork-bot+netdevbpf
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.