mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
Revert "media: v4l: Set sub-device's owner field to the caller's module"
This reverts commit 68f8978088
.
This commit is contained in:
@@ -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
|
* Register with the v4l2_device which increases the module's
|
||||||
* use count as well.
|
* use count as well.
|
||||||
*/
|
*/
|
||||||
if (__v4l2_device_register_subdev(v4l2_dev, sd, sd->owner))
|
if (v4l2_device_register_subdev(v4l2_dev, sd))
|
||||||
sd = NULL;
|
sd = NULL;
|
||||||
|
|
||||||
/* Decrease the module use count to match the first try_module_get. */
|
/* Decrease the module use count to match the first try_module_get. */
|
||||||
|
Reference in New Issue
Block a user