Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[media] Drop owner assignment from i2c_driver

i2c_driver does not need to set an owner because i2c_register_driver()
will set it.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>

authored by

Krzysztof Kozlowski and committed by
Mauro Carvalho Chehab
ebf8dce5 8972943c

-2
-1
drivers/media/usb/go7007/s2250-board.c
··· 629 629 630 630 static struct i2c_driver s2250_driver = { 631 631 .driver = { 632 - .owner = THIS_MODULE, 633 632 .name = "s2250", 634 633 }, 635 634 .probe = s2250_probe,
-1
drivers/media/v4l2-core/tuner-core.c
··· 1366 1366 1367 1367 static struct i2c_driver tuner_driver = { 1368 1368 .driver = { 1369 - .owner = THIS_MODULE, 1370 1369 .name = "tuner", 1371 1370 .pm = &tuner_pm_ops, 1372 1371 },