class_find_d...e_by_of_node(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the class_find_d...e_by_of_node page in the Kernel API Manual β€” section 9, and yes that header is literally shortened like that. This is the page for the device iterator that locates a particular device matching the of_node. No cap, that's the whole vibe. πŸ’–βœ¨

✨ NAME ✨

class_find_device_by_of_node β€” device iterator for locating a particular device matching the of_node. It's giving β€œfind that one device whose of_node is the match,” and honestly? iconic. πŸŽ€πŸ¦‹

🌸 SYNOPSIS 🌸

struct device * class_find_device_by_of_node (const struct class *class
, const struct device_node *np );

πŸ’… ARGUMENTS πŸ’…

  • class β€” class type. That's the class-type situation, bestie. ✨
  • np β€” of_node of the device to match. This is the of_node you're matching, fr fr. πŸ’œ

πŸ¦‹ SEE ALSO πŸ¦‹

okay so if you wanna keep reading (and you should), these are the references:

and that's the whole page, bestie β€” source/version deets: this one comes from ./include/linux/device, dated October 2026, and it's the class_find_d...e_by_of_node(9) page. mwah πŸ’‹πŸŽ€

πŸ“¦ where this page comes from