nvmem_unregister_notifier(9)
β¨ nvmem_unregister_notifier(9) β¨
okay so bestie, this is a page from the Kernel API Manual (section 9, the kernel-API girlies) and honestly it's a short one but it's lowkey important so let's get into it π
πΈ NAME πΈ
nvmem_unregister_notifier β unregister a notifier block for nvmem events.
like, you know how you signed up to get pinged about nvmem events? yeah. this is the "actually nvm, take me off the list" function π«Ά
β¨ SYNOPSIS β¨
int nvmem_unregister_notifier (struct notifier_block *nb );
that's the whole vibe check right there π
π ARGUMENTS π
nbβ the notifier block to be unregistered. the exact one you're yeeting off the notification list π«
π₯ RETURN π₯
0on success β slay, it worked π- negative error number on failure β it's giving "something went wrong" π
π¦ SEE ALSO π¦
Kernel file ./drivers/nvmem/core.c β that's where the magic lives, iykyk π
and the whole nvmem friend group, literally all of them:
nvmem_add_one_cell(9)nvmem_add_cells(9)nvmem_register_notifier(9)nvmem_register(9)nvmem_unregister(9)devm_nvmem_register(9)of_nvmem_device_get(9)nvmem_device_get(9)nvmem_device_find(9)devm_nvmem_device_put(9)nvmem_device_put(9)devm_nvmem_device_get(9)of_nvmem_cell_get(9)nvmem_cell_get(9)devm_nvmem_cell_get(9)devm_nvmem_cell_put(9)nvmem_cell_put(9)nvmem_cell_read(9)nvmem_cell_write(9)nvmem_cell_read_u8(9)nvmem_cell_read_u16(9)nvmem_cell_read_u32(9)nvmem_cell_read_u64(9)nvmem_cell_read_variable_le_u32(9)nvmem_cell_read_variable_le_u64(9)nvmem_device_cell_read(9)nvmem_device_cell_write(9)nvmem_device_read(9)nvmem_device_write(9)nvmem_add_cell_lookups(9)nvmem_del_cell_lookups(9)nvmem_dev_name(9)nvmem_dev_size(9)
ngl bestie, remember: 0 means success, negative means nope. don't let a negative number gaslight you into thinking it's fine π
and that's the whole page! sign-off time π the source lives in the ./drivers/nvmem directory, dated October 2026 β like, future girl energy fr fr β bye bestie, go unregister those notifiers responsibly π
π¦ 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