devm_nvmem_device_put(9)
π devm_nvmem_device_put β kernel API manual, but make it make sense
okay so bestie, this is devm_nvmem_device_put(9) from the Kernel API Manual, and it's honestly such a short little icon. its whole job? putting back an nvmem device you already got. that's it. that's the function. π
β¨ NAME β¨
devm_nvmem_device_put β put already got nvmem device
like, you grabbed it, and now you're putting it back. balanced. symmetrical. we love a full circle moment. π¦
πΈ SYNOPSIS πΈ
void devm_nvmem_device_put (struct device *dev , struct nvmem_device
*nvmem );
no return value, no drama β it's void, she simply does the thing and leaves. π
π ARGUMENTS π
devβ the Device that uses the nvmem device. the main character of the hardware world, fr fr. πnvmemβ pointer to nvmem device allocated bydevm_nvmem_cell_get, that needs to be released. so like, if you got it fromdevm_nvmem_cell_get, this is the one you hand back. don't be out here releasing random pointers, bestie. π
lowkey important: thatnvmempointer has to come fromdevm_nvmem_cell_getβ that's the origin story the docs specify. iykyk. π
π«Ά SEE ALSO π«Ά
okay this is the part where the manpage flexes its entire friend group. every single one of these, no skips, no cuts:
- Kernel file
./drivers/nvmem/core.c 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)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)
the way this list just keeps goingβ¦ she has range, she has connections, she has a whole ecosystem. π
okay that's the whole page, not a single detail dropped, we ate and left no crumbs π β¨
this masterpiece lives in ./drivers/nvmem, dated October 2026, and it's devm_nvmem_device_put(9) forever and always. 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