pm_clk_remove_clk(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… pm_clk_remove_clk(9) β€” Kernel API Manual πŸŽ€

okay so bestie, welcome to the <cyan>Kernel API Manual</cyan> page for pm_clk_remove_clk β€” it's a whole vibe about telling a device's power management to stop using a clock, and honestly? iconic. πŸ¦‹


✨ NAME ✨

pm_clk_remove_clk β€” Stop using a device clock for power management. literally the "we're done here, bestie" of clock handling. πŸ’…


✨ SYNOPSIS ✨

void pm_clk_remove_clk (struct device *dev , struct clk *clk );

no cap, that's the whole signature β€” nothing returned (it's a void, she gives nothing back and she's thriving). ✨


✨ ARGUMENTS ✨

  • dev β€” the device whose clock should not be used for PM any more. like, this is the main character we're removing the clock from. 🫢
  • clk β€” Clock pointer. that's it, that's the pointer. πŸŽ€

✨ DESCRIPTION ✨

so here's the tea β˜• β€” you take the clock that clk points to, and you remove it from the list of clocks used for the power management of dev.

that's the whole plot. no plot twists. she just quietly slides the clock out of the PM list and leaves. lowkey graceful, highkey important. 🌸


✨ SEE ALSO ✨

bestie there are SO many siblings, buckle up β€” the kernel file ./drivers/base/power/clock_ops.c is the home base 🏠 and here's the whole friend group:

and yes, pm_clk_notify(9) is in there twice β€” that's how the original rolls, so we're keeping it twice. she's just that nice they listed her again. πŸ’€πŸ’–

okay that's the whole page 🧚 from ./drivers/base/power, dated October 2026, and screaming pm_clk_remove_clk(9) one more time for the people in the back. mwah, go forth and remove those clocks responsibly. πŸ’œβ­πŸŒˆ

πŸ“¦ where this page comes from