public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/10] Remove class_find_device_by_of_node in favor of finding by firmware node
@ 2026-03-23  1:54 Dmitry Torokhov
  2026-03-23  1:54 ` [PATCH net-next 01/10] net: wan: framer: switch to using class_find_device_by_fwnode() Dmitry Torokhov
                   ` (9 more replies)
  0 siblings, 10 replies; 40+ messages in thread
From: Dmitry Torokhov @ 2026-03-23  1:54 UTC (permalink / raw)
  To: Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Vinod Koul, Neil Armstrong, Mark Brown,
	Liam Girdwood, Lee Jones, Pavel Machek, Peter Rosin, Andrew Lunn,
	Heiner Kallweit, Russell King, Moritz Fischer, Xu Yilun, Tom Rix,
	Greg Kroah-Hartman, Rafael J. Wysocki, Danilo Krummrich
  Cc: netdev, linux-kernel, linux-phy, linux-spi, linux-leds,
	linux-fpga, driver-core

Firmware nodes are generalization of OF device nodes and generic APIs
should offer only fwnode variants instead of providing firmware-specific
handlers.

This series switches all users of class_find_device_by_of_node() to
class_find_device_by_fwnode() and removes the OF variant.

I believe this can be applied through individual subsystems and then the
last patch can go into the driver core.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
---
Dmitry Torokhov (10):
      net: wan: framer: switch to using class_find_device_by_fwnode()
      phy: core: switch to using class_find_device_by_fwnode()
      spi: switch to using class_find_device_by_fwnode()
      regulator: of: switch to using class_find_device_by_fwnode()
      leds: led-class: switch to using class_find_device_by_fwnode()
      mux: switch to using class_find_device_by_fwnode()
      net: phy: switch to using class_find_device_by_fwnode()
      fpga: bridge: switch to using class_find_device_by_fwnode()
      fpga: manager: switch to using class_find_device_by_fwnode()
      driver core: class: remove class_find_device_by_of_node()

 drivers/fpga/fpga-bridge.c           |  4 +++-
 drivers/fpga/fpga-mgr.c              |  3 ++-
 drivers/leds/led-class.c             |  2 +-
 drivers/mux/core.c                   |  2 +-
 drivers/net/phy/mdio_bus_provider.c  |  4 +++-
 drivers/net/wan/framer/framer-core.c |  2 +-
 drivers/phy/phy-core.c               |  3 ++-
 drivers/regulator/of_regulator.c     |  2 +-
 drivers/spi/spi.c                    |  6 ++++--
 include/linux/device/class.h         | 12 ------------
 10 files changed, 18 insertions(+), 22 deletions(-)
---
base-commit: 785f0eb2f85decbe7c1ef9ae922931f0194ffc2e
change-id: 20260220-remove-device-find-by-of-node-077784fa109c

Thanks.

-- 
Dmitry


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

end of thread, other threads:[~2026-03-24 13:50 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-23  1:54 [PATCH 00/10] Remove class_find_device_by_of_node in favor of finding by firmware node Dmitry Torokhov
2026-03-23  1:54 ` [PATCH net-next 01/10] net: wan: framer: switch to using class_find_device_by_fwnode() Dmitry Torokhov
2026-03-23  1:54 ` [PATCH 02/10] phy: core: " Dmitry Torokhov
2026-03-23  1:54 ` [PATCH 03/10] spi: " Dmitry Torokhov
2026-03-23 13:58   ` Mark Brown
2026-03-23 17:16   ` Mark Brown
2026-03-23 18:25     ` Dmitry Torokhov
2026-03-23  1:54 ` [PATCH 04/10] regulator: of: " Dmitry Torokhov
2026-03-23 14:00   ` Mark Brown
2026-03-23 18:28     ` Dmitry Torokhov
2026-03-23 19:05       ` Mark Brown
2026-03-23 19:41         ` Dmitry Torokhov
2026-03-23 19:58           ` Mark Brown
2026-03-23 21:39             ` Dmitry Torokhov
2026-03-23 20:01         ` Andrew Lunn
2026-03-23 21:36           ` Mark Brown
2026-03-23 21:41             ` Dmitry Torokhov
2026-03-23 22:11               ` Andrew Lunn
2026-03-23 22:27                 ` Dmitry Torokhov
2026-03-23 22:39                   ` Andrew Lunn
2026-03-23 22:48                     ` Dmitry Torokhov
2026-03-24 13:50                       ` Andrew Lunn
2026-03-24  0:17           ` Russell King (Oracle)
2026-03-23  1:54 ` [PATCH 05/10] leds: led-class: " Dmitry Torokhov
2026-03-23  1:54 ` [PATCH 06/10] mux: " Dmitry Torokhov
2026-03-23  1:54 ` [PATCH net-next 07/10] net: phy: " Dmitry Torokhov
2026-03-23  2:54   ` Andrew Lunn
2026-03-23  5:17     ` Dmitry Torokhov
2026-03-23  8:59       ` Russell King (Oracle)
2026-03-23 18:33         ` Dmitry Torokhov
2026-03-23 18:39           ` Russell King (Oracle)
2026-03-23 19:35             ` Dmitry Torokhov
2026-03-23 20:15             ` Andrew Lunn
2026-03-23 21:49               ` Dmitry Torokhov
2026-03-23 22:00                 ` Andrew Lunn
2026-03-23 22:20                   ` Dmitry Torokhov
2026-03-23  1:54 ` [PATCH 08/10] fpga: bridge: " Dmitry Torokhov
2026-03-23  1:54 ` [PATCH 09/10] fpga: manager: " Dmitry Torokhov
2026-03-23  1:54 ` [PATCH 10/10] driver core: class: remove class_find_device_by_of_node() Dmitry Torokhov
2026-03-23  7:43   ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox