zl3073x_devm_alloc(9)
π zl3073x_devm_alloc(9) β from the Kernel API Manual β¨
okay so bestie, welcome to the zl3073x_devm_alloc page, this is a function from the Kernel API Manual and it's literally the moment a zl3073x device structure gets born π
πΈ NAME πΈ
zl3073x_devm_alloc β allocates zl3073x device structure
like, that's the whole vibe: it makes the device struct, no cap π«Ά
β¨ SYNOPSIS β¨
struct zl3073x_dev * zl3073x_devm_alloc (struct device *dev );
copy it exactly like that pls, character for character, she's iconic and we don't touch her π
π¦ ARGUMENTS π¦
devβ pointer to device structure β¨ that's the one and only thing you hand her
π DESCRIPTION π
Allocates the zl3073x device structure as device resource.
that's it, that's the whole tea π the allocation is tied to the device as a resource, so it's giving managed-device main character energy π
β RETURN β
- pointer to zl3073x device on success π
- error pointer on error π
so like, always vibe check the return value before you dereference it fr fr β an error pointer is not a real device and it will not slay π
π SEE ALSO π
Kernel file ./drivers/dpll/zl3073x/devlink.c π
zl3073x_devlink_info_get(9)zl3073x_devlink_flash_prepare(9)zl3073x_devlink_flash_finish(9)zl3073x_devlink_flash_update(9)zl3073x_devlink_register(9)
all the devlink besties, go read them next π«Άβ¨
sign-off time π this little beauty lives in ./drivers/dpll/zl3073x, dated October 2026, and yes she's part of the Kernel API Manual because she's that girl π go be obsessed, 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