i2c_atr_delete(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… i2c_atr_delete(9) β€” from the Kernel API Manual, bestie

okay so picture this: you're deep in the kernel, you've got an I2C ATR helper living its best life, and now it's time to send it off gracefully. That's literally this page. Welcome to i2c_atr_delete, bestie β€” it's giving "cleanup era" and honestly? Iconic. πŸŽ€


✨ NAME ✨

i2c_atr_delete β€” delete an I2C ATR helper. That's it. That's the whole job. She's a one-task queen and she ate. πŸ‘‘


🌸 SYNOPSIS 🌸

void i2c_atr_delete (struct i2c_atr *atr );

Returns nothing (void) β€” no cap, no return value, she just does the thing and dips. πŸ’¨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • atr β€” the I2C ATR helper that's getting deleted. Yep, this is the main character of the whole function. Say bye 🫢

πŸ’– DESCRIPTION πŸ’–

So here's the vibe check, and this part is serious, bestie β€” it's a precondition, not a suggestion:

all the adapters you added with i2c_atr_add_adapter must be removed first by calling i2c_atr_del_adapter.

Like, all of them. Every single one. You cannot skip this step, you cannot "do it later", you cannot hope the kernel won't notice 😭 Clean up your adapters with i2c_atr_del_adapter before you call i2c_atr_delete, or the vibe is ruined. Consider this your bestie intervention. ✨


🧚 SEE ALSO 🧚

Kernel file ./include/linux/i2c-atr.h, plus the whole squad:

Go read them, iykyk πŸ“šπŸ’œ


aaaand that's the page!! this little gem lives in ./include/linux and the date on it is October 2026 β€” so yeah, she's from the future, main character energy fr fr. mwah, go delete responsibly πŸ’…πŸŒˆβ­

πŸ“¦ where this page comes from