commit | 3580112b6d6f51725ba605c146db14af61e87628 | [log] [tgz] |
---|---|---|
author | Sakari Ailus <sakari.ailus@linux.intel.com> | Tue Jan 09 05:20:34 2018 -0500 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Tue Jan 23 08:12:01 2018 -0500 |
tree | 8b1aa45e1330526e66e5e047af75a4758c715f6f | |
parent | 6146fde355b4eef760102a8ce0d063c6ecf53cb8 [diff] |
media: entity: Add a nop variant of media_entity_cleanup 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 <sakari.ailus@linux.intel.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>