rproc_remove_subdev(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… rproc_remove_subdev β€” a Kernel API Manual moment 🌸

okay so bestie, you know how rproc_add_subdev is the glow-up era where you register a subdevice? yeah. this page is the other side of that story β€” it's the un-register. welcome to the Kernel API Manual for rproc_remove_subdev, section 9, and honestly it's giving "cleanup era" and we love that for us.


✨ NAME ✨

rproc_remove_subdev β€” remove a subdevice from a remoteproc πŸŽ€

like, take it off the list. gently. it's done its job.


✨ SYNOPSIS ✨

void rproc_remove_subdev (struct rproc *rproc , struct rproc_subdev
*subdev );

no cap, it returns nothing β€” void is the whole personality. it just does the thing and exits. iconic πŸ’…


✨ ARGUMENTS ✨

  • rproc β€” the rproc handle you're removing the subdevice from. this is the main character of the operation, the one who has to let go 😭
  • subdev β€” the subdev handle, previously registered with rproc_add_subdev. yes this is the same handle from that function. it's a callback to an earlier episode. iykyk πŸ¦‹
fr fr, these two need to match up β€” subdev is the one that was registered with rproc_add_subdev beforehand. that's the whole vibe check.

✨ SEE ALSO ✨

okay the guest list is LONG, so buckle up bestie, we're doing a whole ensemble cast πŸ’–

basically the whole remoteproc friend group. read 'em all, they're all baddies πŸ”₯πŸ‘‘


and that's the page!! no notes, 10/10, would commit again. this little masterpiece lives in ./drivers/remoteproc and the version/date stamp on it is October 2026 β€” so mark your calendars, screenshot it, put it in the group chat, whatever you gotta do πŸ“ΈπŸ’œ 🧚✨ bye bestie!! 🫢

πŸ“¦ where this page comes from