class_find_d...e_by_of_node(9)
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_nodeof the device to match. This is theof_nodeyou're matching, fr fr. π
π¦ SEE ALSO π¦
okay so if you wanna keep reading (and you should), these are the references:
- Kernel file
./include/linux/device/class.h struct class(9)class_find_device_by_name(9)class_find_device_by_fwnode(9)class_find_device_by_devt(9)class_find_device_by_acpi_dev(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms