spear_smi_remove(9)
π NAME π
okay so welcome to the spear_smi_remove(9) page from the Kernel API Manual β this is spear_smi_remove, aka the Exit routine, and she is literally the goodbye baddie of this kernel API. periodt.
β¨ SYNOPSIS β¨
void spear_smi_remove (struct platform_device *pdev );
copy-paste exact, bestie β no cap. π
π ARGUMENTS π
pdevβ the platform device structure. that's the one and only argument, icon behavior only.
π¦ DESCRIPTION π¦
when this runs, it frees all allocations and deletes the partitions. that's the whole vibe β clean up, clear out, slay. π β¨
πΈ SEE ALSO πΈ
go snoop these, iykyk:
- Kernel file
./drivers/mtd/devices/spear_smi.c struct spear_smi(9)struct spear_snor_flash(9)spear_smi_read_sr(9)spear_smi_wait_till_ready(9)spear_smi_int_handler(9)spear_smi_hw_init(9)get_flash_index(9)spear_smi_write_enable(9)spear_smi_erase_sector(9)spear_mtd_erase(9)spear_mtd_read(9)spear_mtd_write(9)spear_smi_probe_flash(9)spear_smi_probe(9)
mwah π this lil page comes from <code>./drivers/mtd/devices</code>, dated October 2026 β periodt, bestie. π«Άπ
π¦ 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