diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2015-07-10 02:19:46 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-08-11 12:01:08 -0400 |
commit | f77658bda96431801dcd078765ba92adcd02aaaa (patch) | |
tree | 24ea3bcd477eff5781b75b5ccc32f110d1b06929 /drivers/media/radio | |
parent | dfadaccabf93362cda7232eb9684b2eae7f2abf9 (diff) |
[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>
Diffstat (limited to 'drivers/media/radio')
-rw-r--r-- | drivers/media/radio/radio-tea5764.c | 1 | ||||
-rw-r--r-- | drivers/media/radio/saa7706h.c | 1 | ||||
-rw-r--r-- | drivers/media/radio/tef6862.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/radio/radio-tea5764.c b/drivers/media/radio/radio-tea5764.c index cc3990111411..a1930b300c06 100644 --- a/drivers/media/radio/radio-tea5764.c +++ b/drivers/media/radio/radio-tea5764.c | |||
@@ -526,7 +526,6 @@ MODULE_DEVICE_TABLE(i2c, tea5764_id); | |||
526 | static struct i2c_driver tea5764_i2c_driver = { | 526 | static struct i2c_driver tea5764_i2c_driver = { |
527 | .driver = { | 527 | .driver = { |
528 | .name = "radio-tea5764", | 528 | .name = "radio-tea5764", |
529 | .owner = THIS_MODULE, | ||
530 | }, | 529 | }, |
531 | .probe = tea5764_i2c_probe, | 530 | .probe = tea5764_i2c_probe, |
532 | .remove = tea5764_i2c_remove, | 531 | .remove = tea5764_i2c_remove, |
diff --git a/drivers/media/radio/saa7706h.c b/drivers/media/radio/saa7706h.c index 183e92719140..ba8e357ba0a2 100644 --- a/drivers/media/radio/saa7706h.c +++ b/drivers/media/radio/saa7706h.c | |||
@@ -417,7 +417,6 @@ MODULE_DEVICE_TABLE(i2c, saa7706h_id); | |||
417 | 417 | ||
418 | static struct i2c_driver saa7706h_driver = { | 418 | static struct i2c_driver saa7706h_driver = { |
419 | .driver = { | 419 | .driver = { |
420 | .owner = THIS_MODULE, | ||
421 | .name = DRIVER_NAME, | 420 | .name = DRIVER_NAME, |
422 | }, | 421 | }, |
423 | .probe = saa7706h_probe, | 422 | .probe = saa7706h_probe, |
diff --git a/drivers/media/radio/tef6862.c b/drivers/media/radio/tef6862.c index a9319a24c7ef..9f879f0ec0ef 100644 --- a/drivers/media/radio/tef6862.c +++ b/drivers/media/radio/tef6862.c | |||
@@ -195,7 +195,6 @@ MODULE_DEVICE_TABLE(i2c, tef6862_id); | |||
195 | 195 | ||
196 | static struct i2c_driver tef6862_driver = { | 196 | static struct i2c_driver tef6862_driver = { |
197 | .driver = { | 197 | .driver = { |
198 | .owner = THIS_MODULE, | ||
199 | .name = DRIVER_NAME, | 198 | .name = DRIVER_NAME, |
200 | }, | 199 | }, |
201 | .probe = tef6862_probe, | 200 | .probe = tef6862_probe, |