i2c_client_get_device_id(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– i2c_client_get_device_id πŸ’–

okay so bestie, welcome to the Kernel API Manual entry for i2c_client_get_device_id β€” yes the whole function name is the title, she said main character energy only πŸŽ€


✨ NAME ✨

i2c_client_get_device_id β€” get the driver match table entry of a device πŸ¦‹


🌸 SYNOPSIS 🌸

const struct i2c_device_id * i2c_client_get_device_id (const struct
i2c_client *client );

like literally that's the whole signature, no cap πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • client β€” the device to query. and listen, the device must be bound to a driver, ok? that's not a vibe suggestion, that's a requirement πŸ™ˆ

πŸ’œ DESCRIPTION πŸ’œ

Returns a pointer to the matching entry if found β€” and NULL otherwise. that's it, that's the whole plot πŸ“


🌈 SEE ALSO 🌈

Kernel file ./drivers/i2c/i2c-core-base.c β€” go read her, she's iconic πŸ‘‘


and that's the whole page, bestie!! slay πŸ’– this one lives in ./drivers/i2c, dated October 2026 β€” mwah, see u in the next manpage ✨🫢

πŸ“¦ where this page comes from