devm_reset_...l_get_shared(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… devm_reset_control_get_shared β€” from the Kernel API Manual ✨

okay so bestie, welcome to the devm_reset_control_get_shared page πŸ’– this is a kernel API manual entry, it's giving very "I live in ./include/linux/reset.h" energy, and honestly? iconic.


🌸 NAME 🌸

devm_reset_control_get_shared β€” the resource managed version of reset_control_get_shared() 🫢

Basically the same vibe as the regular one, except the kernel cleans up after you like the world's most responsible bestie.


✨ SYNOPSIS ✨

struct reset_control * devm_reset_control_get_shared (struct device *dev
, const char *id );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the device that's gonna get reset by the controller. like, that's the whole main character here πŸ’…
  • id β€” the name of the reset line. yep, just the name 🏷️

πŸ¦‹ DESCRIPTION πŸ¦‹

So this is the managed reset_control_get_shared. Managed means the kernel's got your back: for reset controllers returned from this function, reset_control_put gets called automatically on driver detach β€” no manual cleanup era for you, bestie, it's giving self-care 🌈

Wanna know more? The manpage says to go see reset_control_get_shared for the full tea β˜• iykyk.


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./include/linux/reset.h πŸ“ and also literally the whole friend group:

no cap, that's the entire group chat 😭🫢


okay that's the whole page diva πŸ’œ quick sign-off: this one's from ./include/linux, dated October 2026, and it's filed under devm_reset_...l_get_shared(9) β€” slay, go reset something responsibly βœ¨πŸŽ€

πŸ“¦ where this page comes from