platform_fin...ce_by_driver(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– platform_fin...ce_by_driver(9) β€” Kernel API Manual, but make it make sense πŸŽ€

okay so bestie, this is a Kernel API Manual page and honestly? it's a short one, so we're gonna get through it together, no cap ✨


🌸 NAME 🌸

platform_find_device_by_driver β€” literally just go find a platform device that belongs to a given driver. that's the whole job, she's a seeker πŸ”πŸ’…


✨ SYNOPSIS ✨

struct device * platform_find_device_by_driver (struct device *start ,
       const struct device_driver *drv );

yep, that's the whole signature. returns a struct device *, takes a start pointer and a driver pointer. iconic, minimal, obsessed 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • start β€” the device you wanna start the search from. like, where the scavenger hunt begins, y'know? 🏁
  • drv β€” the device driver you're looking for. this is the one you want to match up with, main character energy fr fr πŸ‘‘

πŸŽ€ SEE ALSO πŸŽ€

okay so this is the part where the page just hands you the whole friend group 😭 and the kernel file it lives in: Kernel file ./drivers/base/platform.c β€” that's her home address bestie 🏑

and then the extended crew, in order, no skips, no cap:

like, that is a lot of friends and she is not leaving a single one out πŸ’€ go read them if you want the full lore, iykyk πŸ“š


ngl bestie, that's the whole page. tiny page, big energy. you got this πŸ’ͺ

source/version: ./drivers/base Β· dated October 2026 Β· page name platform_fin...ce_by_driver(9) β€” mwah, bye bestie, go find that device πŸ“πŸ§šπŸ’œ

πŸ“¦ where this page comes from