Name

media_remove_intf_links — remove all links associated with an interface

Synopsis

void media_remove_intf_links (struct media_interface * intf);
 

Arguments

intf

pointer to media_interface

Notes

this is called automatically when an entity is unregistered via media_device_register_entity and by media_devnode_remove.

Prefer to use this one, instead of __media_remove_intf_links.