All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH treewide 0/7] phy: Add devm_of_phy_optional_get() helper
@ 2023-01-18 10:15 ` Geert Uytterhoeven
  0 siblings, 0 replies; 69+ messages in thread
From: Geert Uytterhoeven @ 2023-01-18 10:15 UTC (permalink / raw)
  To: Madalin Bucur, David S . Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Horatiu Vultur, UNGLinuxDriver, Thierry Reding,
	Lorenzo Pieralisi, Rob Herring, Krzysztof Wilczyński,
	Bjorn Helgaas, Jonathan Hunter, Vinod Koul,
	Kishon Vijay Abraham I, Alan Stern, Greg Kroah-Hartman,
	Krzysztof Kozlowski, Alim Akhtar, Siddharth Vadapalli,
	Russell King
  Cc: netdev, linux-tegra, linux-pci, linux-phy, linux-usb,
	linux-arm-kernel, linux-samsung-soc, Geert Uytterhoeven

	Hi all,

While there exist several optional_get() PHY helper functions, there is
no optional variant of devm_of_phy_get(), leading to several drivers
implementing this theirselves, sometimes in buggy ways.

Hence this series introduces a devm_of_phy_optional_get() helper(), and
converts existing users of devm_of_phy_get() where appropriate.

This series been compile-tested only, but the new helper itself has been
tested with a new user I am about to submit.

Thanks for your comments!

Geert Uytterhoeven (7):
  phy: Add devm_of_phy_optional_get() helper
  net: fman: memac: Convert to devm_of_phy_optional_get()
  net: lan966x: Convert to devm_of_phy_optional_get()
  net: ethernet: ti: am65-cpsw: Convert to devm_of_phy_optional_get()
  PCI: tegra: Convert to devm_of_phy_optional_get()
  usb: host: ehci-exynos: Convert to devm_of_phy_optional_get()
  usb: host: ohci-exynos: Convert to devm_of_phy_optional_get()

 .../net/ethernet/freescale/fman/fman_memac.c  |  8 +++---
 .../ethernet/microchip/lan966x/lan966x_main.c |  5 ++--
 drivers/net/ethernet/ti/am65-cpsw-nuss.c      |  6 ++---
 drivers/pci/controller/pci-tegra.c            |  5 +---
 drivers/phy/phy-core.c                        | 26 +++++++++++++++++++
 drivers/usb/host/ehci-exynos.c                | 24 +++++------------
 drivers/usb/host/ohci-exynos.c                | 24 +++++------------
 include/linux/phy/phy.h                       |  9 ++++++
 8 files changed, 59 insertions(+), 48 deletions(-)

-- 
2.34.1

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

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

end of thread, other threads:[~2023-01-23 18:18 UTC | newest]

Thread overview: 69+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-18 10:15 [PATCH treewide 0/7] phy: Add devm_of_phy_optional_get() helper Geert Uytterhoeven
2023-01-18 10:15 ` Geert Uytterhoeven
2023-01-18 10:15 ` Geert Uytterhoeven
2023-01-18 10:15 ` [PATCH 1/7] " Geert Uytterhoeven
2023-01-18 10:15   ` Geert Uytterhoeven
2023-01-18 10:15   ` Geert Uytterhoeven
2023-01-19  3:28   ` Jakub Kicinski
2023-01-19  3:28     ` Jakub Kicinski
2023-01-19  3:28     ` Jakub Kicinski
2023-01-19 11:14     ` Vinod Koul
2023-01-19 11:14       ` Vinod Koul
2023-01-19 11:14       ` Vinod Koul
2023-01-19 17:07       ` Jakub Kicinski
2023-01-19 17:07         ` Jakub Kicinski
2023-01-19 17:07         ` Jakub Kicinski
2023-01-18 10:15 ` [PATCH 2/7] net: fman: memac: Convert to devm_of_phy_optional_get() Geert Uytterhoeven
2023-01-18 10:15   ` Geert Uytterhoeven
2023-01-18 10:15   ` Geert Uytterhoeven
2023-01-19 23:25   ` Sean Anderson
2023-01-19 23:25     ` Sean Anderson
2023-01-19 23:25     ` Sean Anderson
2023-01-18 10:15 ` [PATCH 3/7] net: lan966x: " Geert Uytterhoeven
2023-01-18 10:15   ` Geert Uytterhoeven
2023-01-18 10:15   ` Geert Uytterhoeven
2023-01-20  8:46   ` Steen Hegelund
2023-01-20  8:46     ` Steen Hegelund
2023-01-20  8:46     ` Steen Hegelund
2023-01-18 10:15 ` [PATCH 4/7] net: ethernet: ti: am65-cpsw: " Geert Uytterhoeven
2023-01-18 10:15   ` Geert Uytterhoeven
2023-01-18 10:15   ` Geert Uytterhoeven
2023-01-18 10:15 ` [PATCH 5/7] PCI: tegra: " Geert Uytterhoeven
2023-01-18 10:15   ` Geert Uytterhoeven
2023-01-18 10:15   ` Geert Uytterhoeven
2023-01-23 18:17   ` Bjorn Helgaas
2023-01-23 18:17     ` Bjorn Helgaas
2023-01-23 18:17     ` Bjorn Helgaas
2023-01-18 10:15 ` [PATCH 6/7] usb: host: ehci-exynos: " Geert Uytterhoeven
2023-01-18 10:15   ` Geert Uytterhoeven
2023-01-18 10:15   ` Geert Uytterhoeven
2023-01-19 12:17   ` Greg Kroah-Hartman
2023-01-19 12:17     ` Greg Kroah-Hartman
2023-01-19 12:17     ` Greg Kroah-Hartman
2023-01-18 10:15 ` [PATCH 7/7] usb: host: ohci-exynos: " Geert Uytterhoeven
2023-01-18 10:15   ` Geert Uytterhoeven
2023-01-18 10:15   ` Geert Uytterhoeven
2023-01-18 16:18   ` Alan Stern
2023-01-18 16:18     ` Alan Stern
2023-01-18 16:18     ` Alan Stern
2023-01-18 16:50     ` Geert Uytterhoeven
2023-01-18 16:50       ` Geert Uytterhoeven
2023-01-18 16:50       ` Geert Uytterhoeven
2023-01-18 17:01       ` Alan Stern
2023-01-18 17:01         ` Alan Stern
2023-01-18 17:01         ` Alan Stern
2023-01-18 17:29   ` Rob Herring
2023-01-18 17:29     ` Rob Herring
2023-01-18 17:29     ` Rob Herring
2023-01-18 18:28     ` Geert Uytterhoeven
2023-01-18 18:28       ` Geert Uytterhoeven
2023-01-18 18:28       ` Geert Uytterhoeven
2023-01-18 19:49       ` Rob Herring
2023-01-18 19:49         ` Rob Herring
2023-01-18 19:49         ` Rob Herring
2023-01-20  7:56         ` Geert Uytterhoeven
2023-01-20  7:56           ` Geert Uytterhoeven
2023-01-20  7:56           ` Geert Uytterhoeven
2023-01-20  8:04           ` Vinod Koul
2023-01-20  8:04             ` Vinod Koul
2023-01-20  8:04             ` Vinod Koul

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.