class_find_..._by_acpi_dev(9)
π NAME π
hey bestie, welcome to class_find_..._by_acpi_dev(9) from the Kernel API Manual β¨ this one is a device iterator for finding one particular device that matches the ACPI_COMPANION device. it's giving "seek and ye shall find" but make it kernel, no cap π
πΈ SYNOPSIS πΈ
struct device * class_find_device_by_acpi_dev (const struct class *class
, const struct acpi_device *adev );
π ARGUMENTS π
classβ the class type, periodt.adevβ theACPI_COMPANIONdevice to match. that's the one we're looking for, bestie π«Ά
π SEE ALSO π
- Kernel file:
./include/linux/device/class.h struct class(9)class_find_device_by_name(9)class_find_device_by_of_node(9)class_find_device_by_fwnode(9)class_find_device_by_devt(9)
go peek at those if you want the full friend-group lore π
okay bye bestie π this little icon came from the ./include/linux/device source crew, dated October 2026, and it's still serving class_find_..._by_acpi_dev(9) energy. 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