[PATCH 0/6] phy: core: Fix bugs for several APIs and simplify an API
Zijun Hu
zijun_hu at icloud.com
Sat Oct 19 22:27:45 PDT 2024
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 at 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,
--
Zijun Hu <quic_zijuhu at quicinc.com>
More information about the linux-phy
mailing list