scmi_devm_n...r_unregister(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… scmi_devm_notifier_unregister πŸ’…

ok so bestie, welcome to the Kernel API Manual ✨ today's main character is scmi_devm_notifier_unregister(9) β€” yes, the header abbreviates it all dramatically as scmi_devm_n...r_unregister(9), we don't know why, we don't ask πŸŽ€ and the footer's hanging out down at the bottom with the ./drivers/firmware/arm_scmi source and the October 2026 date, we'll get there 🫢


🌸 NAME 🌸

scmi_devm_notifier_unregister β€” the managed, devres-flavored un-registration of a notifier_block for an event πŸ’«


✨ SYNOPSIS ✨

int scmi_devm_notifier_unregister (struct scmi_device *sdev , struct
       notifier_block *nb );

like, that's the whole vibe. two args, one int coming back at you πŸ¦‹


πŸŽ€ ARGUMENTS πŸŽ€

  • sdev β€” a reference to an scmi_device whose embedded struct device is the one getting used for devres accounting πŸ“’ (yes, the accounting, bestie, we love resource bookkeeping)
  • nb β€” a standard notifier block to register for the specified event 🧚

πŸ’– DESCRIPTION πŸ’–

okay so this one is a generic devres managed helper β€” highkey iconic β€” and what it does is explicitly un-register a notifier_block against a protocol event 🌈 the important part: that notifier block was previously registered using the above scmi_devm_notifier_register, so this is the breakup text to that registration, and it's a managed one πŸ’…


πŸ‘‘ RETURN πŸ‘‘

  • 0 on Success ⭐ β€” that's it, that's the whole function, we stan a one-value return

πŸ¦‹ SEE ALSO πŸ¦‹

the kernel file ./drivers/firmware/arm_scmi/notify.c Theory of operation(9) πŸ”₯ plus the whole extended friend group, no cap:

that's the whole roster, fr fr πŸ’€πŸ™ˆ


and that's the page bestie!! 🌟 sign-off time: brought to you by ./drivers/firmware/arm_scmi, dated October 2026, filed under scmi_devm_n...r_unregister(9) β€” mwah πŸ’‹ πŸ“πŸ’œ

πŸ“¦ where this page comes from