Name

media_entity_get — Get a reference to the parent module

Synopsis

struct media_entity * media_entity_get (struct media_entity * entity);
 

Arguments

entity

The entity

Description

Get a reference to the parent media device module.

The function will return immediately if entity is NULL.

Return a pointer to the entity on success or NULL on failure.