i3c_i2c_driver_unregister(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… i3c_i2c_driver_unregister(9) β€” the Kernel API Manual page, but make it make sense

okay so bestie, welcome to the Kernel API Manual ✨ β€” today's main character is i3c_i2c_driver_unregister, and honestly? her whole job is saying "you're done here" to two drivers at once. no cap, it's giving cleanup era πŸ§ΉπŸ’–


✨ NAME ✨

i3c_i2c_driver_unregister β€” unregister an i2c and an i3c driver 🫢

like, both of them. together. one function call, two drivers exiting the chat πŸ’€


🌸 SYNOPSIS 🌸

void i3c_i2c_driver_unregister (struct i3c_driver *i3cdrv , struct
i2c_driver *i2cdrv );

look at her go, she takes two pointers and returns literally nothing (void, we love a queen who doesn't overpromise) πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • i3cdrv β€” the I3C driver to register πŸ‘‘
okay so the manpage literally says "to register" here and we're just passing that along verbatim, don't come for me πŸ™ˆ the icon said what she said
  • i2cdrv β€” the I2C driver to register πŸŽ€
same situation, same energy, keeping it exactly as written fr fr

Two args, both drivers, no extras. Iconic. 🌈


πŸ’œ DESCRIPTION πŸ’œ

so this function unregisters both i3cdrv and i2cdrv at once. two birds, one function call, zero drama. ✨

but here's the plot twist you need to know: when CONFIG_I3C is not enabled, this function only unregisters the i2cdrv. 😭 that's it. the I3C half just doesn't happen. so if your mental model was "both always get unregistered," bestie, do a little vibe check on your config first πŸ”₯


🌟 SEE ALSO 🌟

the whole friend group, assembled 🫢 go say hi to:

that's the entire group chat, no one's getting left on read πŸŽ€


πŸ’€ friendly reminder that this is the unregister page β€” she undoes things. the "to register" wording in ARGUMENTS is straight from the source, not a typo of mine, okurrr πŸ™ˆ

and that's the whole page bestie, you ate that πŸ“ mwah πŸ’‹

signed off with love from ./include/linux/i3c, dated October 2026, page name i3c_i2c_driver_unregister(9) β€” see you in the next manpage, iykyk πŸŒΈπŸ’œπŸ¦‹

πŸ“¦ where this page comes from