zd1301_demod..._i2c_adapter(9)
π zd1301_demod_get_i2c_adapter β kernel API manual, but make it make sense
okay so bestie, welcome to the <pink>zd1301_demod..._i2c_adapter(9)</pink> page of the Kernel API Manual β¨ this one's short and sweet, and honestly? it's giving "tiny function, big main character energy" π
πΈ NAME πΈ
zd1301_demod_get_i2c_adapter β literally just: get a pointer to the I2C adapter π no cap, that's the whole job.
β¨ SYNOPSIS β¨
struct i2c_adapter * zd1301_demod_get_i2c_adapter (struct platform_device *pdev );
that's it. that's the vibe. one arg, one return, we move π
π¦ ARGUMENTS π¦
pdevβ pointer to a platform device π«Ά like, hand her the platform device and she'll do her thing.
π RETURN π
returns a pointer to the I2C adapter which the given platform device owns π not a random one, not somebody else's, the one that belongs to that device. possessive in the best way tbh. periodt.
π₯ SEE ALSO π₯
- Kernel file
./drivers/media/dvb-frontends/zd1301_demod.hπ struct zd1301_demod_platform_data(9)πzd1301_demod_get_dvb_frontend(9)π
go read those next, iykyk π
ngl this page is like four lines of substance and i respect it β no filler, no drama, just a getter doing getter things πΈ
and that's the whole page, bestie π«Ά source lives in <cyan>./drivers/media/dvb-frontends`, and this lil masterpiece is dated October 2026 β see u in the next manpage, mwah π
π
π¦ 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