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

2018-01-10 Thread Arnd Bergmann
On Tue, Jan 9, 2018 at 11:31 PM, Sakari Ailus wrote: >> depends on VIDEO_V4L2_SUBDEV_API >> ---help--- >> This is a driver for the DW9714 camera lens voice coil. >> @@ -636,7 +636,6 @@ config VIDEO_OV5670 >> tristate "OmniVision OV5670 sensor support" >>

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

2018-01-09 Thread Sakari Ailus
Hi Arnd, On Tue, Jan 09, 2018 at 03:26:38PM +0100, Arnd Bergmann wrote: > On Tue, Jan 9, 2018 at 2:58 PM, 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. > > >

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

2018-01-09 Thread Arnd Bergmann
On Tue, Jan 9, 2018 at 2:58 PM, 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() and drop > the extra

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

2018-01-09 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() and drop the extra semicolon from media_entity_cleanup prototype. Signed-off-by: