clk_hw_unregister_divider(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… clk_hw_unregister_divider(9)

okay so bestie, welcome to the Kernel API Manual ✨ β€” this one's a lil function page and it's honestly so straightforward it's giving "one job and she does it" energy. Let's get into it 🫢


🌸 NAME 🌸

clk_hw_unregister_divider β€” unregister a clk divider πŸ‘‘

Like, you had a clock divider registered and now you're like "k bye" and it goes away. That's the whole vibe. No cap πŸ’…


✨ SYNOPSIS ✨

void clk_hw_unregister_divider (struct clk_hw *hw );

yup that's it, that's the whole signature πŸŽ€ it returns void, so don't go looking for a return value, there isn't one, she said what she said πŸ’€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • hw β€” hardware-specific clock data to unregister 🌈 this is the struct you're sending off into the void, so make sure it's actually the divider's struct clk_hw * and not some random pointer you grabbed out of your bag πŸ™ˆ

πŸŽ€ SEE ALSO πŸŽ€

  • Kernel file ./drivers/clk/clk-divider.c β€” the source file where all this magic lives, go read it, it's iconic πŸ“–
  • clk_register_divider_table(9) β€” the registration counterpart, i.e. the one that puts the divider in while this one takes it out πŸ”₯

lowkey reminder bestie: this page is about unregistering, so if you're looking for how to set one up, the SEE ALSO above has your back πŸ’–

and that's the whole page, fr fr 🌸 mwah πŸ’‹

Signed off with love from the Kernel file ./drivers/clk, dated October 2026, in the Kernel API Manual β€” clk_hw_unregister_divider(9) out 🫢✨
πŸ“¦ where this page comes from