clk_notifier_unregister(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… clk_notifier_unregister(9) β€” from the Kernel API Manual, bestie ✨

Okay so picture this: you're in the Kernel API Manual, section clk_notifier_unregister(9), and you've decided you're done caring. This page is literally about breaking up with a notifier. No cap.


🌸 NAME 🌸

clk_notifier_unregister β€” unregister a clock rate-change notifier callback πŸŽ€

Like, you signed up to get pinged every time a clock changes its rate, and now you're cancelling the subscription. Unsubscribing. Marie Kondo-ing that callback. It's giving closure.


✨ SYNOPSIS ✨

int clk_notifier_unregister (struct clk *clk , struct notifier_block *nb );

That's the whole vibe check β€” two arguments, one int coming back at you. 🫢


πŸ’– ARGUMENTS πŸ’–

  • clk β€” the clock whose rate we are no longer interested in πŸ‘‹ lowkey the "we need to talk" of it all. This is the clock you're walking away from.
  • nb β€” the notifier block which will be unregistered. That's the actual callback bundle getting yeeted from the list. Bye bestie, slay, don't come back πŸ¦‹

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./include/linux/clk.h β€” and then the whole clk cinematic universe, fr fr: clk notifier callback types(9), struct clk_notifier(9), struct clk_notifier_data(9), struct clk_bulk_data(9), clk_notifier_register(9), devm_clk_notifier_register(9), clk_get_accuracy(9), clk_set_phase(9), clk_get_phase(9), clk_set_duty_cycle(9), clk_get_scaled_duty_cycle(9), clk_is_match(9), clk_rate_exclusive_get(9), devm_clk_rate_exclusive_get(9), clk_rate_exclusive_put(9), clk_save_context(9), clk_restore_context(9), clk_prepare(9), clk_unprepare(9), clk_is_enabled_when_prepared(9), clk_get(9), clk_bulk_get(9), clk_bulk_get_all(9), clk_bulk_get_optional(9), devm_clk_bulk_get(9), devm_clk_bulk_get_optional(9), devm_clk_bulk_get_enable(9), devm_clk_bulk_get_optional_enable(9), devm_clk_bulk_get_all(9), devm_clk_bulk_get_all_enabled(9), devm_clk_get(9), devm_clk_get_prepared(9), devm_clk_get_enabled(9), devm_clk_get_optional(9), devm_clk_get_optional_prepared(9), devm_clk_get_optional_enabled(9), devm_clk_get_optional_enabled_with_rate(9), devm_get_clk_from_child(9), clk_enable(9), clk_bulk_enable(9), clk_disable(9), clk_bulk_disable(9), clk_get_rate(9), clk_put(9), clk_bulk_put(9), clk_bulk_put_all(9), devm_clk_put(9), clk_round_rate(9), clk_set_rate(9), clk_set_rate_exclusive(9), clk_has_parent(9), clk_set_rate_range(9), clk_set_min_rate(9), clk_set_max_rate(9), clk_set_parent(9), clk_get_parent(9), clk_get_sys(9), clk_drop_range(9), clk_get_optional(9) 🌈

That's sixty-something pages of clk lore, go read them, iykyk πŸ‘‘


That's the whole page, no filler, periodt. This lil gem lives in ./include/linux, dropped October 2026 β€” mwah, go forth and unregister responsibly πŸ’…πŸ’œ

πŸ“¦ where this page comes from