All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/2] of: mdio: Fall back to mdiobus_register() with NULL device_node
@ 2018-05-15 23:56 ` Florian Fainelli
  0 siblings, 0 replies; 40+ messages in thread
From: Florian Fainelli @ 2018-05-15 23:56 UTC (permalink / raw)
  To: netdev
  Cc: Florian Fainelli, Andrew Lunn, Vivien Didelot, David S. Miller,
	Nicolas Ferre, Fugang Duan, Sergei Shtylyov, Giuseppe Cavallaro,
	Alexandre Torgue, Jose Abreu, Grygorii Strashko, Woojung Huh,
	Microchip Linux Driver Support, Rob Herring, Frank Rowand,
	Antoine Tenart, Tobias Jordan, Russell King, Geert Uytterhoeven,
	Thomas Petazzoni, Niklas Söderlund, Simon Horman,
	Maxim Uvarov, Sekhar Nori, open list,
	open list:RENESAS ETHERNET DRIVERS,
	open list:TI ETHERNET SWITCH DRIVER (CPSW),
	open list:USB NETWORKING DRIVERS,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE

Hi all,

This patch series updates of_mdiobus_register() such that when the device_node
argument is NULL, it calls mdiobus_register() directly. This is consistent with
the behavior of of_mdiobus_register() when CONFIG_OF=n.

I only converted the most obvious drivers, there are others that have a much
less obvious behavior and specifically attempt to deal with CONFIG_ACPI.

Changes in v2:

- fixed build error in davincin_mdio.c (Grygorii)
- reworked first patch a bit: commit message, subject and removed useless
  code comment

Florian Fainelli (2):
  of: mdio: Fall back to mdiobus_register() with NULL device_node
  drivers: net: Remove device_node checks with of_mdiobus_register()

 drivers/net/dsa/bcm_sf2.c                         |  8 ++------
 drivers/net/dsa/mv88e6xxx/chip.c                  |  5 +----
 drivers/net/ethernet/cadence/macb_main.c          | 12 +++---------
 drivers/net/ethernet/freescale/fec_main.c         |  8 ++------
 drivers/net/ethernet/marvell/mvmdio.c             |  5 +----
 drivers/net/ethernet/renesas/sh_eth.c             | 11 +++--------
 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c |  5 +----
 drivers/net/ethernet/ti/davinci_mdio.c            |  8 +++-----
 drivers/net/phy/mdio-gpio.c                       |  6 +-----
 drivers/net/phy/mdio-mscc-miim.c                  |  6 +-----
 drivers/net/usb/lan78xx.c                         |  7 ++-----
 drivers/of/of_mdio.c                              |  3 +++
 12 files changed, 23 insertions(+), 61 deletions(-)

-- 
2.14.1


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

end of thread, other threads:[~2018-05-16 20:20 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-15 23:56 [PATCH net-next v2 0/2] of: mdio: Fall back to mdiobus_register() with NULL device_node Florian Fainelli
2018-05-15 23:56 ` Florian Fainelli
2018-05-15 23:56 ` Florian Fainelli
2018-05-15 23:56 ` [PATCH net-next v2 1/2] " Florian Fainelli
2018-05-15 23:56   ` [net-next,v2,1/2] " Florian Fainelli
2018-05-15 23:56   ` [PATCH net-next v2 1/2] " Florian Fainelli
2018-05-15 23:56   ` Florian Fainelli
2018-05-15 23:56 ` [PATCH net-next v2 2/2] drivers: net: Remove device_node checks with of_mdiobus_register() Florian Fainelli
2018-05-15 23:56   ` [net-next,v2,2/2] " Florian Fainelli
2018-05-15 23:56   ` [PATCH net-next v2 2/2] " Florian Fainelli
2018-05-15 23:56   ` Florian Fainelli
2018-05-16  0:01   ` Grygorii Strashko
2018-05-16  0:01     ` [net-next,v2,2/2] " Grygorii Strashko
2018-05-16  0:01     ` [PATCH net-next v2 2/2] " Grygorii Strashko
2018-05-16  0:01     ` Grygorii Strashko
2018-05-16  1:57   ` Andy Duan
2018-05-16  1:57     ` [net-next,v2,2/2] " Fugang Duan
2018-05-16  1:57     ` [PATCH net-next v2 2/2] " Andy Duan
2018-05-16  6:49   ` Antoine Tenart
2018-05-16  6:49     ` [net-next,v2,2/2] " Antoine Tenart
2018-05-16  6:49     ` [PATCH net-next v2 2/2] " Antoine Tenart
2018-05-16  6:49     ` Antoine Tenart
2018-05-16  6:49     ` Antoine Tenart
2018-05-16 11:01   ` Jose Abreu
2018-05-16 11:01     ` [net-next,v2,2/2] " Jose Abreu
2018-05-16 11:01     ` [PATCH net-next v2 2/2] " Jose Abreu
2018-05-16 11:01     ` Jose Abreu
2018-05-16 20:20   ` Sergei Shtylyov
2018-05-16 20:20     ` [net-next,v2,2/2] " Sergei Shtylyov
2018-05-16 20:20     ` [PATCH net-next v2 2/2] " Sergei Shtylyov
2018-05-16 20:20     ` Sergei Shtylyov
2018-05-16  8:54 ` [PATCH net-next v2 0/2] of: mdio: Fall back to mdiobus_register() with NULL device_node Geert Uytterhoeven
2018-05-16  8:54   ` Geert Uytterhoeven
2018-05-16  8:54   ` Geert Uytterhoeven
2018-05-16 12:27   ` Andrew Lunn
2018-05-16 12:27     ` Andrew Lunn
2018-05-16 12:27     ` Andrew Lunn
2018-05-16 18:21 ` David Miller
2018-05-16 18:32   ` Geert Uytterhoeven
2018-05-16 18:32     ` Geert Uytterhoeven

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.