Skip to content

net: phy: fixed_phy: simplifications and improvements

Heiner Kallweit linux-m68k linux-mips linux-usb netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesApplied 3/3

Patches in v1 All 3 applied

#Subject and filesSizeRepliesApplied
1/3net: phy: fixed_phy: remove irq argument from fixed_phy_addarch/m68k/coldfire/m5272.c arch/mips/bcm47xx/setup.c drivers/net/phy/fixed_phy.c +1 more+6 -83 repliesApplied
2/3net: phy: fixed_phy: remove irq argument from fixed_phy_registerdrivers/net/dsa/dsa_loop.c drivers/net/ethernet/broadcom/bgmac.c drivers/net/ethernet/broadcom/genet/bcmmii.c +5 more+13 -152 repliesApplied
3/3net: phy: fixed_phy: constify status argument where possibledrivers/net/phy/fixed_phy.c include/linux/phy_fixed.h+7 -72 repliesApplied

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchSimon HormanFlorian FainelliGreg Ungerer
1/3R-b R-b A-b
2/3R-b R-b
3/3R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH net-next 0/3] net: phy: fixed_phy: simplifications and improvements

This series includes two types of changes:
- All callers pass PHY_POLL, therefore remove irq argument
- constify the passed struct fixed_phy_status *status

Heiner Kallweit (3):
net: phy: fixed_phy: remove irq argument from fixed_phy_add
net: phy: fixed_phy: remove irq argument from fixed_phy_register
net: phy: fixed_phy: constify status argument where possible

 arch/m68k/coldfire/m5272.c                   |  2 +-
 arch/mips/bcm47xx/setup.c                    |  2 +-
 drivers/net/dsa/dsa_loop.c                   |  2 +-
 drivers/net/ethernet/broadcom/bgmac.c        |  2 +-
 drivers/net/ethernet/broadcom/genet/bcmmii.c |  2 +-
 drivers/net/ethernet/faraday/ftgmac100.c     |  2 +-
 drivers/net/mdio/of_mdio.c                   |  2 +-
 drivers/net/phy/fixed_phy.c                  | 12 +++++-------
 drivers/net/usb/lan78xx.c                    |  2 +-
 include/linux/phy_fixed.h                    | 18 ++++++++----------
 10 files changed, 21 insertions(+), 25 deletions(-)
Signature · 1 line
2.49.0