regulator_set_drvdata(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, we're cracking open regulator_set_drvdata(9) from the Kernel API Manual ✨ and it's giving β€œshort king of a manpage” πŸ‘‘. Let's get into it.

πŸŽ€ NAME πŸŽ€

regulator_set_drvdata β€” set regulator driver data πŸ’…

✨ SYNOPSIS ✨

void regulator_set_drvdata (struct regulator *regulator , void *data );

lowkey iconic that the whole synopsis fits in one line. The return type is void β€” no value comes back β€” and it takes a struct regulator * called regulator plus a void * called data. periodt 🫢

πŸ’– ARGUMENTS πŸ’–

  • regulator β€” the struct regulator * named regulator. The page's description is literally β€œregulator,” and honestly? Minimalist queen, no notes πŸ‘‘.
  • data β€” the void * named data. Again, the page just says β€œdata,” so we are not inventing extra lore 😌.

πŸ¦‹ SEE ALSO πŸ¦‹

okay, the SEE ALSO section is huge and we are not skipping a single name, because every reference deserves its main character moment 🌈. The kernel file it points at is ./drivers/regulator/core.c, and here's the full roster:

mwah πŸ’‹ β€” the source/version corner says this page lives under ./drivers/regulator, dated October 2026, and the title on the tin is still regulator_set_drvdata(9) all the way to the end πŸŽ€βœ¨

πŸ“¦ where this page comes from