[media] img-ir: Don't set driver's module owner
Don't bother setting .owner = THIS_MODULE, since it's already handled by the platform_driver_register macro. Signed-off-by: James Hogan <james.hogan@imgtec.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
Родитель
6010d2c104
Коммит
64b989e137
|
@ -166,7 +166,6 @@ MODULE_DEVICE_TABLE(of, img_ir_match);
|
|||
static struct platform_driver img_ir_driver = {
|
||||
.driver = {
|
||||
.name = "img-ir",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = img_ir_match,
|
||||
.pm = &img_ir_pmops,
|
||||
},
|
||||
|
|
Загрузка…
Ссылка в новой задаче