Commit 37048e17 authored by Yang Li's avatar Yang Li Committed by Hans Verkuil

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: default avatarAbaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5902Signed-off-by: default avatarYang Li <yang.lee@linux.alibaba.com>
Reviewed-by: default avatarTomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
parent 7c7e33b7
......@@ -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,
},
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment