zl3073x_devm_alloc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 πŸ‘€

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