Revert "media: v4l: Set sub-device's owner field to the caller's module"

This reverts commit 68f8978088.
This commit is contained in:
CrazyCat
2024-07-01 19:14:01 +03:00
parent 68f8978088
commit 413dc6a9fe

View File

@@ -59,7 +59,7 @@ struct v4l2_subdev *v4l2_spi_new_subdev(struct v4l2_device *v4l2_dev,
* Register with the v4l2_device which increases the module's
* use count as well.
*/
if (__v4l2_device_register_subdev(v4l2_dev, sd, sd->owner))
if (v4l2_device_register_subdev(v4l2_dev, sd))
sd = NULL;
/* Decrease the module use count to match the first try_module_get. */