devm_pinctrl_put(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… devm_pinctrl_put(9) β€” like, the Kernel API Manual bestie ✨

okay so bestie, we're in the Kernel API Manual today and this one is short but iconic, so let's go 🫢


🌸 NAME 🌸

devm_pinctrl_put β€” the resource-managed version of pinctrl_put(), no cap πŸ’–


✨ SYNOPSIS ✨

void devm_pinctrl_put (struct pinctrl *p );

πŸŽ€ ARGUMENTS πŸŽ€

  • p β€” the pinctrl handle to release. that's it, that's the whole argument, she's lowkey simple like that πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

So basically this deallocates a struct pinctrl that you got from devm_pinctrl_get. 🫧

And here's the tea: normally you will not need to call this function at all β€” the resource management code is gonna handle it for you and make sure the resource gets freed. the devm machinery is literally doing the most so you don't have to πŸ˜­πŸ‘‘


🌈 SEE ALSO 🌈

Kernel file ./drivers/pinctrl/core.c β€” and honestly the whole friend group showed up for this one, so here they all are, every single one, periodt πŸ’œ:


ngl if you're out here manually calling this when you didn't have to, the resource management code is gonna look at you like πŸ‘€ β€” you're free to, but like… she already had it handled, bestie πŸ“

and that's the whole page!! mwah πŸ’‹ source situation lives in ./drivers/pinctrl, dated October 2026, and it's devm_pinctrl_put(9) signing off β€” slay, bye πŸ§šπŸ’–βœ¨

πŸ“¦ where this page comes from