spmi_device_add(9)
okay bestie, welcome to spmi_device_add(9) from the Kernel API Manual β¨ this page is short, sweet, and giving βone job, done rightβ energy. no cap.
π NAME π
spmi_device_add β add a device previously constructed via spmi_device_alloc()
β¨ SYNOPSIS β¨
the signature is literally:
int spmi_device_add (struct spmi_device *sdev );
π ARGUMENTS π
sdevβ thespmi_deviceto be added. thatβs it, thatβs the whole assignment, bestie π«Ά
π SEE ALSO π
go peek at the kernel file ./drivers/spmi/spmi.c, then these iconic pages:
spmi_device_remove(9)spmi_register_read(9)spmi_ext_register_read(9)spmi_ext_register_readl(9)spmi_register_write(9)spmi_register_zero_write(9)spmi_ext_register_write(9)spmi_ext_register_writel(9)spmi_command_reset(9)spmi_command_sleep(9)spmi_command_wakeup(9)spmi_command_shutdown(9)spmi_find_device_by_of_node(9)spmi_device_alloc(9)spmi_controller_alloc(9)spmi_controller_add(9)spmi_controller_remove(9)__spmi_driver_register(9)
thatβs the whole page, bestie π«Ά source/version is ./drivers/spmi, dated October 2026 β spmi_device_add(9) signing off with main character energy π
π¦ 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