dev_pm_opp_of_remove_table(9)
β¨ dev_pm_opp_of_remove_table β¨
okay bestie, welcome to the Kernel API Manual entry for dev_pm_opp_of_remove_table(9) β yes the name is a whole mouthful, we love her anyway π
π NAME π
dev_pm_opp_of_remove_table β the cleanup girlie that frees all those OPP table entries you created from static DT entries. think of it as the "okay party's over, everyone out" of the OPP world π«Ά
πΈ SYNOPSIS πΈ
void dev_pm_opp_of_remove_table (struct device *dev );
it returns void, so likeβ¦ no receipts, no return value, she just does the thing and leaves π
π¦ ARGUMENTS π¦
devβ the device pointer used to look up the OPP table. that's it, that's the whole argument, she's low maintenance β¨
π DESCRIPTION π
Free the OPPs that were created using the static entries present in DT. literally her only job and she ate π₯
so if you added stuff with the static-DT route, this is the matching "actually clean it up" call β iconic paired behavior, iykyk π
π SEE ALSO π
the whole friend group, fr fr β shoutout to the kernel file ./drivers/opp/of.c and all these besties:
_opp_add_static_v2(9)devm_pm_opp_of_add_table(9)dev_pm_opp_of_add_table(9)dev_pm_opp_of_add_table_indexed(9)devm_pm_opp_of_add_table_indexed(9)dev_pm_opp_of_cpumask_remove_table(9)dev_pm_opp_of_cpumask_add_table(9)dev_pm_opp_of_get_sharing_cpus(9)of_get_required_opp_performance_state(9)dev_pm_opp_of_has_required_opp(9)dev_pm_opp_get_of_node(9)dev_pm_opp_calc_power(9)dev_pm_opp_of_register_em(9)
ngl, if you're adding tables you probably want the add_table girlies up there too β they're literally right there in the list π
and that's the whole page, bestie π this one lives in ./drivers/opp and it's stamped October 2026 β go forth and free your OPP tables, you absolute main character πβ¨
π¦ 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