[media] staging: 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
ebf8dce56a
commit
acda7cf446
|
@ -1367,7 +1367,6 @@ static const struct i2c_device_id ir_transceiver_id[] = {
|
|||
|
||||
static struct i2c_driver driver = {
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = "Zilog/Hauppauge i2c IR",
|
||||
},
|
||||
.probe = ir_probe,
|
||||
|
|
|
@ -561,7 +561,6 @@ MODULE_DEVICE_TABLE(i2c, mn88472_id_table);
|
|||
|
||||
static struct i2c_driver mn88472_driver = {
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = "mn88472",
|
||||
},
|
||||
.probe = mn88472_probe,
|
||||
|
|
|
@ -507,7 +507,6 @@ MODULE_DEVICE_TABLE(i2c, mn88473_id_table);
|
|||
|
||||
static struct i2c_driver mn88473_driver = {
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = "mn88473",
|
||||
},
|
||||
.probe = mn88473_probe,
|
||||
|
|
Loading…
Reference in a new issue