scmi_devm_n...r_unregister(9)
π 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 anscmi_devicewhose embeddedstruct deviceis 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 π
0on 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:
struct scmi_notify_instance(9)struct events_queue(9)struct scmi_event_header(9)struct scmi_registered_events_desc(9)struct scmi_registered_event(9)struct scmi_event_handler(9)scmi_lookup_and_call_event_chain(9)scmi_process_event_header(9)scmi_process_event_payload(9)scmi_events_dispatcher(9)scmi_notify(9)scmi_kfifo_free(9)scmi_initialize_events_queue(9)scmi_allocate_registered_events_desc(9)scmi_register_protocol_events(9)scmi_deregister_protocol_events(9)scmi_allocate_event_handler(9)scmi_free_event_handler(9)scmi_bind_event_handler(9)scmi_valid_pending_handler(9)scmi_register_event_handler(9)__scmi_event_handler_get_ops(9)scmi_get_active_handler(9)__scmi_enable_evt(9)scmi_put_handler_unlocked(9)scmi_event_handler_enable_events(9)scmi_notifier_register(9)scmi_notifier_unregister(9)scmi_devm_notifier_register(9)scmi_protocols_late_init(9)scmi_notification_init(9)scmi_notification_quiesce(9)scmi_notification_exit(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms