media: v4l: async: Set owner for async sub-devices
authorSakari Ailus <sakari.ailus@linux.intel.com>
Wed, 13 Mar 2024 13:57:50 +0000 (13:57 +0000)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 26 Apr 2024 10:31:19 +0000 (11:31 +0100)
commit8a718752f5c339137c5b05e54f116cd26d5a4143
tree9d4efc4c609fc4f8b2429c380e245d8e823acfe8
parentaa7b148855e8265c4f72ae0305842efdda72680b
media: v4l: async: Set owner for async sub-devices

Set the owner field of the async sub-devices by making
v4l2_async_register_subdev() a macro and obtaining THIS_MODULE that way.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/v4l2-core/v4l2-async.c
include/media/v4l2-async.h