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

[media] radio: 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
f77658bd dfadacca

-3
-1
drivers/media/radio/radio-tea5764.c
··· 526 526 static struct i2c_driver tea5764_i2c_driver = { 527 527 .driver = { 528 528 .name = "radio-tea5764", 529 - .owner = THIS_MODULE, 530 529 }, 531 530 .probe = tea5764_i2c_probe, 532 531 .remove = tea5764_i2c_remove,
-1
drivers/media/radio/saa7706h.c
··· 417 417 418 418 static struct i2c_driver saa7706h_driver = { 419 419 .driver = { 420 - .owner = THIS_MODULE, 421 420 .name = DRIVER_NAME, 422 421 }, 423 422 .probe = saa7706h_probe,
-1
drivers/media/radio/tef6862.c
··· 195 195 196 196 static struct i2c_driver tef6862_driver = { 197 197 .driver = { 198 - .owner = THIS_MODULE, 199 198 .name = DRIVER_NAME, 200 199 }, 201 200 .probe = tef6862_probe,