tpm_cr50_i2c_remove(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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:


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