devm_nvmem_cell_put(9)
π devm_nvmem_cell_put(9) π
okay so bestie, welcome to the Kernel API Manual β this one's a tiny little page from devm_nvmem_cell_put(9) and honestly it's giving cleanup-era energy. no cap, it's short, it's sweet, and it's lowkey essential. let's get into it π
β¨ NAME β¨
devm_nvmem_cell_put β releases a previously allocated nvmem cell that came from devm_nvmem_cell_get.
likeβ¦ it's the "okay bye, thanks for the cell" function π«Ά
πΈ SYNOPSIS πΈ
void devm_nvmem_cell_put (struct device *dev , struct nvmem_cell *cell );
look at her. void return, two args, absolutely no drama. she ate and left no crumbs β¨
π ARGUMENTS π
devβ the device that requests the nvmem cell. it's the one holding the receipt, basically π§Ύcellβ a previously allocated nvmem cell, the kind you get fromdevm_nvmem_cell_get. yes, that one. the devm-managed one specifically π
fr fr, this is the counterpart call β you pair it with devm_nvmem_cell_get, iykyk π
π¦ SEE ALSO π¦
living in the kernel file ./drivers/nvmem/core.c β and here's the whole friend group, no one left out:
nvmem_add_one_cell(9)nvmem_add_cells(9)nvmem_register_notifier(9)nvmem_unregister_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)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)
the way that's literally the entire nvmem cinematic universe ππ₯
and that's the page!! mwah π sourced from ./drivers/nvmem, dated October 2026, and yes the footer says devm_nvmem_cell_put(9) again because she's the main character of her own manpage πβ¨ go release that cell bestie, slay ππ¦
π¦ 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