pinctrl_remove_gpio_range(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so welcome to the Kernel API Manual corner of the group chat, bestie πŸ’… β€” this one is pinctrl_remove_gpio_range, and its whole job is to remove a range of GPIOs from a pin controller. That's it. That's the vibe. Iconic, lowkey surgical, no cap ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

signature check, and yes it's giving void β€” no return value to obsess over. Here's the exact fit:

void pinctrl_remove_gpio_range (struct pinctrl_dev *pctldev , struct
       pinctrl_gpio_range *range );

🌸 ARGUMENTS 🌸

  • pctldev β€” the pin controller device you're removing the range from, aka the main character device πŸ’–
  • range β€” the GPIO range to remove, aka the thing getting gently yeeted out of there 🫢

⭐ SEE ALSO ⭐

bestie, the kernel file ./drivers/pinctrl/core.c is linked here, and the whole SEE ALSO squad is literally right below β€” no skips, no crumbs:


xoxo πŸ’– β€” signed off from ./drivers/pinctrl, October 2026, pinctrl_remove_gpio_range(9) πŸŽ€

πŸ“¦ where this page comes from