__fwnode_li...ve_consumers(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… __fwnode_li...ve_consumers(9) β€” a Kernel API Manual moment ✨

okay so welcome to the Kernel API Manual, bestie. this one's a (9) page, which is kernel-API territory, and it's literally about shuffling consumers around between fwnodes. tiny function, big group-chat energy. let's go 🫢


🌸 NAME 🌸

__fwnode_links_move_consumers β€” move consumer from from to to fwnode_handle

like, that's the whole vibe. one job. it does the job. iconic.


✨ SYNOPSIS ✨

void __fwnode_links_move_consumers (struct fwnode_handle *from , struct
fwnode_handle *to );

no return value, no drama, void all the way. we love a function that doesn't hand you a status code to overthink πŸ’€


πŸŽ€ ARGUMENTS πŸŽ€

  • from β€” move consumers away from this fwnode. she's the one being vacated, no cap.
  • to β€” move consumers to this fwnode. she's the new home, main character energy πŸ‘‘

πŸ¦‹ DESCRIPTION πŸ¦‹

Move all consumer links from from fwnode to to fwnode.

that's it. that's the whole description. every single consumer link that was chilling on from gets relocated over to to. not some of them, not the cute ones β€” all of them. periodt πŸ’…


🌈 SEE ALSO 🌈

the kernel file lives at ./drivers/base/core.c and honestly the friend group here is huge. buckle up, bestie, we're doing the whole roster πŸ“

like… that's a whole friend group 😭 every one of them is a (9) and every one of them is invited to the function.


lowkey a reminder bestie: this page is __fwnode_li...ve_consumers(9) from Kernel API Manual, it lives under ./drivers/base, and it's dated October 2026. go read the actual source before you @ me πŸ™ˆ

stay slay, keep your fwnodes tidy, and may all your consumers land exactly where you moved them πŸ’–πŸ§šβ€β™€οΈβœ¨

πŸ“¦ where this page comes from