dev_pm_opp_of_remove_table(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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:


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