device_property_present(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

✨ okay bestie, this is device_property_present(9) from the Kernel API Manual ✨

device_property_present β€” check if a property of a device is present 🫢

✨ SYNOPSIS ✨

bool device_property_present (const struct device *dev , const char
       *propname );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the device whose property is being checked, aka the main character here πŸ‘‘
  • propname β€” name of the property, periodt πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so here’s the vibe: this one checks if the property propname is present in the device firmware description. Like, is it there or not? That’s the whole quest πŸ”₯

And bestie, it’s the unambiguous way to check that a given property is present in the device firmware description β€” no guessing, no side-eye, just the official check ✨

πŸ’– RETURN πŸ’–

  • Returns true if property propname is present. βœ…
  • Otherwise, returns false. ❌

🌈 SEE ALSO 🌈

Kernel file ./drivers/base/property.c β€” plus the whole squad of related man pages, no cap:


πŸ’… and that’s the whole page, bestie πŸ’… Source/version vibe: ./drivers/base, dated October 2026, still serving device_property_present(9) energy πŸŽ€βœ¨

πŸ“¦ where this page comes from