rpmsg_chrdev_eptdev_destroy(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 rpmsg_chrdev_eptdev_destroy(9) 🌸

okay so this is a page from the Kernel API Manual and it's all about rpmsg_chrdev_eptdev_destroy(9) β€” yes bestie, a whole function, and honestly? she's a closer. let's get into it πŸ’…


✨ NAME ✨

rpmsg_chrdev_eptdev_destroy β€” destroy created char device endpoint. that's it, that's the whole job. iconic, no notes πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

int rpmsg_chrdev_eptdev_destroy (struct device *dev , void *data );

look at her go. returns an int, takes two args, slays 🫢


πŸ’– ARGUMENTS πŸ’–

  • dev β€” okay so the actual manual literally says -- undescribed -- 😭 like the docs really just left her on read. no cap, that's what it says. so we move on, respectfully πŸ™ˆ
  • data β€” the private data associated to the endpoint device. that's her little personal stash of info, tied to the endpoint device fr fr πŸ’œ

πŸ”₯ DESCRIPTION πŸ”₯

so what does she actually do? this function destroys a rpmsg char endpoint device β€” specifically the one that got created by the RPMSG_DESTROY_EPT_IOCTL control. basically she's the clean-up crew, the "you don't have to go home but you gotta get out of here" of endpoint devices. the way that she just... removes the thing that was made? highkey satisfying ✨

not me emphasising that it destroys the device created by the RPMSG_DESTROY_EPT_IOCTL control β€” keep that detail bestie, it's the whole point πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘

  • the Kernel file ./drivers/rpmsg/rpmsg_char.h β€” go read the header, iykyk πŸ“–
  • rpmsg_chrdev_eptdev_create(9) β€” the origin story, the creator, the main character energy that makes this destroy function even possible 🌈

⭐ sign-off ⭐

okay that's the page!! and for the credits moment you know i gotta give it up: this one lives under the source ./drivers/rpmsg, dated October 2026, and it's filed under rpmsg_chrdev_eptdev_destroy(9). periodt πŸ’…πŸŽ€βœ¨

πŸ“¦ where this page comes from