i2c_free_sl...otify_device(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– i2c_free_slave_host_notify_device πŸ’–

okay so bestie, we're in the Kernel API Manual today and this one is a lil cutie β€” a single function, no drama, no flags, just vibes and a pointer. let's get into it 🫢


✨ NAME ✨

i2c_free_slave_host_notify_device β€” the one that frees the client for SMBus host-notify support 🌸


✨ SYNOPSIS ✨

void i2c_free_slave_host_notify_device (struct i2c_client *client );

that's it. that's the whole thing. void in, void out, no return value to stress about πŸ’…


✨ ARGUMENTS ✨

  • client β€” the client to free πŸŽ€ literally just hand it the client and it's done.

✨ CONTEXT ✨

can sleep 😴

fr fr, this one is allowed to sleep β€” so don't be calling it from somewhere that can't, okay? no cap, that's the whole context note.

✨ DESCRIPTION ✨

so what does it do? it frees the i2c_client that was allocated via i2c_new_slave_host_notify_device πŸ¦‹

that's the whole plot. you got a client from the "new" function, and this is the matching "free" function β€” the cleanup bestie to its creation bestie. iconic symmetry, honestly πŸ‘‘


✨ SEE ALSO ✨


cute lil sign-off πŸŽ€

this page lives under ./drivers/i2c, and it's dated October 2026 β€” so yeah, future vibes only. go forth and free your clients responsibly, bestie πŸ’œπŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from