regulator_is_equal(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– regulator_is_equal(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual ✨ β€” yes, the Kernel API Manual, we're in the big leagues now β€” and today's main character is regulator_is_equal. she's short, she's sweet, and she does exactly one (1) thing. no cap.


🌸 NAME 🌸

regulator_is_equal β€” test whether two regulators are the same 🫢

like literally, that's the whole job. is regulator A the same regulator as regulator B? yes or no. iconic minimalism tbh πŸ’…


✨ SYNOPSIS ✨

bool regulator_is_equal (struct regulator *reg1 , struct regulator *reg2
);

she returns a bool, she takes two struct regulator * pointers, she does not elaborate. periodt πŸ’€


πŸŽ€ ARGUMENTS πŸŽ€

  • reg1 β€” the first regulator to operate on. your starter regulator, if you will πŸ¦‹
  • reg2 β€” the second regulator to operate on. the one you're holding up next to reg1 going "wait… are you two the same person??" 😭

both of them are struct regulator *, both of them get compared, and that's the entire vibe check βœ…


πŸ‘‘ SEE ALSO πŸ‘‘

the source lives here, in Kernel file ./drivers/regulator/helpers.c β€” go read it, it's giving humble and hardworking πŸ’œ

and the whole friend group shows up too, because of course they do:

that's the whole group chat, all 28 of them, no one left on read πŸ’–πŸ”₯


ngl, this one's a tiny page for a tiny function and we stan her for it. equal rights, equal regulators πŸ’…βœ¨

and that's the tea, bestie πŸ“ β€” this baby ships out of ./drivers/regulator and the date on the tag is October 2026, so mark your calendars, mwah πŸ’œπŸŽ€πŸ¦‹

πŸ“¦ where this page comes from