i2c_free_sl...otify_device(9)
π 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 β¨
Kernel file ./drivers/i2c/i2c-smbus.cβ the source file, go peek if you want the lore πi2c_handle_smbus_alert(9)π₯i2c_new_slave_host_notify_device(9)β¨ β the one that made the client in the first place
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
- 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