tpm_cr50_i2c_remove(9)
π tpm_cr50_i2c_remove(9) β the Kernel API Manual era π
okay so bestie, welcome to the Kernel API Manual, section 9, and today's main character is tpm_cr50_i2c_remove β yes, the driver remove function, and yes, she's serving exactly what it says on the tin. no cap.
β¨ NAME β¨
tpm_cr50_i2c_remove β literally the driver remove function. that's the whole vibe. π«Ά
πΈ SYNOPSIS πΈ
void tpm_cr50_i2c_remove (struct i2c_client *client );
keep it exactly like that, bestie, character for character β the spacing before that closing paren is iconic and we do not touch it. π
π¦ ARGUMENTS π¦
clientβ the I2C client information. that's it. she's the one and only thing you hand over, and she carries all the info about the client. π
π₯ RETURN π₯
so the return type up there says void, and the page still hands you a whole little list of return values β we don't ask questions, we just report the facts, periodt:
0β Success. slay. π-errnoβ a POSIX error code. so if something goes sideways, you get a negative errno back. not me getting emotionally attached to error codes π
π SEE ALSO π
the whole friend group, fr fr β go check out the kernel file ./drivers/char/tpm/tpm_tis_i2c_cr50.c, plus these icons:
- struct
tpm_i2c_cr50_priv_data(9) tpm_cr50_i2c_int_handler(9)tpm_cr50_i2c_wait_tpm_ready(9)tpm_cr50_i2c_enable_tpm_irq(9)tpm_cr50_i2c_disable_tpm_irq(9)tpm_cr50_i2c_transfer_message(9)tpm_cr50_i2c_read(9)tpm_cr50_i2c_write(9)tpm_cr50_check_locality(9)tpm_cr50_release_locality(9)tpm_cr50_request_locality(9)tpm_cr50_i2c_tis_status(9)tpm_cr50_i2c_tis_set_ready(9)tpm_cr50_i2c_get_burst_and_status(9)tpm_cr50_i2c_tis_recv(9)tpm_cr50_i2c_tis_send(9)tpm_cr50_i2c_req_canceled(9)tpm_cr50_vid_to_name(9)tpm_cr50_i2c_probe(9)
lowkey a whole squad. go read them all, iykyk π
and that's the page!! π this little gem lives in ./drivers/char/tpm, it's dated October 2026, and it's filed under tpm_cr50_i2c_remove(9) β mwah, go forth and remove your drivers responsibly, 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