mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-18 11:17:07 +00:00
[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>
This commit is contained in:
parent
8972943c0e
commit
ebf8dce56a
@ -629,7 +629,6 @@ MODULE_DEVICE_TABLE(i2c, s2250_id);
|
||||
|
||||
static struct i2c_driver s2250_driver = {
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = "s2250",
|
||||
},
|
||||
.probe = s2250_probe,
|
||||
|
@ -1366,7 +1366,6 @@ MODULE_DEVICE_TABLE(i2c, tuner_id);
|
||||
|
||||
static struct i2c_driver tuner_driver = {
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = "tuner",
|
||||
.pm = &tuner_pm_ops,
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user