pinmux_gener...ove_function(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… pinmux_generic_remove_function β€” Kernel API Manual πŸŽ€

okay bestie, welcome to the Kernel API Manual β€” this one's short and sweet, and it's giving "small function, big responsibility" energy. Let's get into it. ✨


🌸 NAME 🌸

pinmux_generic_remove_function β€” literally just removes a numbered function. that's the whole job. no cap. πŸ’…


✨ SYNOPSIS ✨

int pinmux_generic_remove_function (struct pinctrl_dev *pctldev ,
unsigned int selector );

so you hand it a pin controller device and a function number, and it gives you back an int. iconic signature, no notes. 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • pctldev β€” the pin controller device. your main character struct, the one doing all the work. πŸ‘‘
  • selector β€” the function number. which function are we removing? this number. that's it, that's the vibe check. πŸ”₯

πŸ’– DESCRIPTION πŸ’–

okay so the actual thing this does is right there in the name β€” it removes a numbered function. simple. elegant. slay.

but read this part, bestie: the caller must take care of locking. not the function, not some helpful helper β€” you. so if you forget, that's on you, and the vibes will be immaculate but the concurrency will NOT be. 🫠

⚠️ fr fr: the caller must take care of locking. consider this your friendly reminder in bold, because locking bugs are the literal worst. πŸ’€

🌈 SEE ALSO 🌈

Kernel file ./drivers/pinctrl/pinmux.c β€” plus a whole friend group of related functions, all here so you can go read them yourself, iykyk:


and that's the whole page, bestie!! πŸ§šπŸ’œ

sign-off time: this little gem comes from ./drivers/pinctrl, dated October 2026, and it's filed under pinmux_gener...ove_function(9) β€” yes the header name is truncated with the ..., no that's not a typo, that's just manpage life. 😭 go forth, remove functions, and lock responsibly. mwah. πŸ’‹πŸŽ€

πŸ“¦ where this page comes from