media_device_delete(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

media_device_delete β€” Release media device. Calls kref_put().

okay so this is the Kernel API Manual page for media_device_delete(9), and it’s literally the cleanup girlie for a media device instance. slay.

✨ SYNOPSIS ✨

void media_device_delete (struct media_device *mdev , const char
*module_name , struct module *owner );

πŸŽ€ ARGUMENTS πŸŽ€

  • mdev β€” struct media_device pointer.
  • module_name β€” should be filled with KBUILD_MODNAME.
  • owner β€” struct module pointer; THIS_MODULE for the driver. THIS_MODULE is null for a built-in driver. It is safe even when THIS_MODULE is null.

🌸 DESCRIPTION 🌸

This interface should be called to put the Media Device Instance kref. That’s the whole vibe: you call it, and it does the kref_put() thing. No cap, that’s the point.

πŸ¦‹ SEE ALSO πŸ¦‹


with love from ./include/media, October 2026 β€” media_device_delete(9) out πŸ’–βœ¨

πŸ“¦ where this page comes from