i3c_i2c_driver_unregister(9)
π 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:
- Kernel file
./include/linux/i3c/device.h enum i3c_error_code(9)enum i3c_xfer_mode(9)struct i3c_xfer(9)enum i3c_dcr(9)struct i3c_device_info(9)struct i3c_driver(9)dev_to_i3cdev(9)module_i3c_driver(9)i3c_i2c_driver_register(9)β her counterpart, the registration girlie πmodule_i3c_i2c_driver(9)struct i3c_ibi_setup(9)
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
- 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