Re: [PATCH v2 1/1] media: entity: Add a nop variant of media_entity_cleanup

2018-01-11 Thread Arnd Bergmann
On Thu, Jan 11, 2018 at 11:19 AM, Sakari Ailus wrote: > Add nop variant of media_entity_cleanup. This allows calling > media_entity_cleanup whether or not Media controller is enabled, > simplifying driver code. > > Also drop #ifdefs on a few drivers around media_entity_cleanup(). > > Signed-off-by

[PATCH v2 1/1] media: entity: Add a nop variant of media_entity_cleanup

2018-01-11 Thread Sakari Ailus
Add nop variant of media_entity_cleanup. This allows calling media_entity_cleanup whether or not Media controller is enabled, simplifying driver code. Also drop #ifdefs on a few drivers around media_entity_cleanup(). Signed-off-by: Sakari Ailus --- since v1: - Remove "r" at the end of the subje