mbox series

[0/6] phy: core: Fix bugs for several APIs and simplify an API

Message ID 20241020-phy_core_fix-v1-0-078062f7da71@quicinc.com (mailing list archive)
Headers show
Series phy: core: Fix bugs for several APIs and simplify an API | expand

Message

Zijun Hu Oct. 20, 2024, 5:27 a.m. UTC
This patch series is to fix bugs for below APIs:

devm_phy_put()
devm_of_phy_provider_unregister()
devm_phy_destroy()
phy_get()
of_phy_get()
devm_of_phy_get_by_index()

And simplify API of_phy_simple_xlate().

Signed-off-by: Zijun Hu <quic_zijuhu@quicinc.com>
---
Zijun Hu (6):
      phy: core: Fix API devm_phy_put() can not release the phy
      phy: core: Fix API devm_of_phy_provider_unregister() can not unregister the phy provider
      phy: core: Fix API devm_phy_destroy() can not destroy the phy
      phy: core: Add missing of_node_put() for an error handling path of _of_phy_get()
      phy: core: Add missing of_node_put() in of_phy_provider_lookup()
      phy: core: Simplify API of_phy_simple_xlate() implementation

 drivers/phy/phy-core.c | 39 ++++++++++++++++++---------------------
 1 file changed, 18 insertions(+), 21 deletions(-)
---
base-commit: d8f9d6d826fc15780451802796bb88ec52978f17
change-id: 20241020-phy_core_fix-e3ad65db98f7

Best regards,