devm_of_phy...r_unregister(9)
π devm_of_phy_provider_unregister(9) π
okay bestie, welcome to the Kernel API Manual β¨ this one's a short lil baddie but she does exactly what she says on the tin, no cap π
πΈ NAME πΈ
devm_of_phy_provider_unregister β remove phy provider from the framework π«Ά
β¨ SYNOPSIS β¨
void devm_of_phy_provider_unregister (struct device *dev , struct
phy_provider *phy_provider );
like, that's the whole signature, she's not complicated π
π¦ ARGUMENTS π¦
devβ thestruct deviceof the phy provider π like, which device are we talking about herephy_providerβ the phy provider returned byof_phy_provider_registerπ (iykyk, that's where you got this thing in the first place)
π DESCRIPTION π
so basically she destroys the devres associated with this phy provider π and then invokes of_phy_provider_unregister to unregister the phy provider. that's it. that's the whole vibe. cleanup era, main character energy π₯
ngl, devres cleanup is one of those "don't think about it, just let it happen" situations β the framework handles the tears so you don't have to π
π§ SEE ALSO π§
Kernel file ./drivers/phy/phy-core.c β go read her, she's iconic π
phy_create_lookup(9)phy_remove_lookup(9)phy_init(9)phy_exit(9)phy_power_on(9)phy_power_off(9)phy_calibrate(9)phy_notify_connect(9)phy_notify_disconnect(9)phy_notify_state(9)phy_configure(9)phy_validate(9)_of_phy_get(9)of_phy_get(9)of_phy_put(9)phy_put(9)devm_phy_put(9)of_phy_simple_xlate(9)phy_get(9)devm_phy_get(9)devm_phy_optional_get(9)devm_of_phy_get(9)devm_of_phy_optional_get(9)devm_of_phy_get_by_index(9)phy_create(9)devm_phy_create(9)phy_destroy(9)devm_phy_destroy(9)__of_phy_provider_register(9)__devm_of_phy_provider_register(9)of_phy_provider_unregister(9)phy_release(9)
okay that's the page bestie, go unregister something responsibly π«Άβ¨
this lil masterpiece lives at ./drivers/phy and she was dated October 2026 β periodt, she's from the future π
π¦
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms