diff options
author | Yang Li <yang.lee@linux.alibaba.com> | 2023-07-18 03:01:54 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-07-19 12:57:51 +0200 |
commit | 37048e171cda6f000b97b4b4931659254db8f63d (patch) | |
tree | cfaf5ba21df1444d3bd42a6de062cc33014af1ee /drivers/media/i2c/ds90ub953.c | |
parent | media: Explicitly include correct DT includes (diff) | |
download | linux-37048e171cda6f000b97b4b4931659254db8f63d.tar.xz linux-37048e171cda6f000b97b4b4931659254db8f63d.zip |
media: i2c: ds90ub953: No need to set device_driver owner
Remove .owner field if calls are used which set it automatically.
to silence the warning:
./drivers/media/i2c/ds90ub953.c:1390:3-8: No need to set .owner here. The core will do it.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5902
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'drivers/media/i2c/ds90ub953.c')
-rw-r--r-- | drivers/media/i2c/ds90ub953.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/i2c/ds90ub953.c b/drivers/media/i2c/ds90ub953.c index 1e3827a60029..ce1c6f8b656e 100644 --- a/drivers/media/i2c/ds90ub953.c +++ b/drivers/media/i2c/ds90ub953.c @@ -1387,7 +1387,6 @@ static struct i2c_driver ds90ub953_driver = { .id_table = ub953_id, .driver = { .name = "ds90ub953", - .owner = THIS_MODULE, .of_match_table = ub953_dt_ids, }, }; |