_regulator_h...umer_disable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… _regulator_h...umer_disable(9) β€” Kernel API Manual, but make it cute

okay so bestie, gather round, this is a page straight out of the Kernel API Manual and it's short but it ATE πŸŽ€


✨ NAME ✨

_regulator_handle_consumer_disable β€” the one that handles the whole "a consumer just disabled" situation 🫢


🌸 SYNOPSIS 🌸

int _regulator_handle_consumer_disable (struct regulator *regulator );

like literally that's the whole signature, no cap ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • regulator β€” the regulator source πŸ’œ that's it, that's the argument, she's the main character here

πŸŽ€ DESCRIPTION πŸŽ€

So bestie, this one is the opposite of _regulator_handle_consumer_enable. That's the whole tea β˜• β€” it's the mirror-image function, the "she's back off" counterpart to the "she's on" one. Iconic behaviour, honestly πŸ‘‘


⭐ RETURN ⭐

  • 0 on success πŸ’– (slay)
  • a negative error number on failure 😭 (not slay, but at least it tells you)

🌈 SEE ALSO 🌈

First up, the source of truth, the kernel file: ./drivers/regulator/core.c πŸ“

Then the whole group chat of friends and neighbours:

like, that's the entire friend group, and yes every single one of them is in here because we do NOT skip the lore πŸ’€πŸ’–


ngl this page is short but she's doing her job. opposite of enable, returns 0 or a negative error, periodt. πŸ‘‘

πŸŽ€ k bye bestie, this one's from ./drivers/regulator, dated October 2026 β€” and yes, same title, _regulator_h...umer_disable(9), we love a consistent footer πŸ¦‹βœ¨

πŸ“¦ where this page comes from