Commit 514d4d74 authored by Shraddha Barke's avatar Shraddha Barke Committed by Greg Kroah-Hartman

Staging: most: hdm-i2c: Drop owner assignment from i2c driver

i2c_driver does not need to set an owner because core will set it
Signed-off-by: default avatarShraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9f17591f
...@@ -416,7 +416,6 @@ MODULE_DEVICE_TABLE(i2c, i2c_id); ...@@ -416,7 +416,6 @@ MODULE_DEVICE_TABLE(i2c, i2c_id);
static struct i2c_driver i2c_driver = { static struct i2c_driver i2c_driver = {
.driver = { .driver = {
.name = "hdm_i2c", .name = "hdm_i2c",
.owner = THIS_MODULE,
}, },
.probe = i2c_probe, .probe = i2c_probe,
.remove = i2c_remove, .remove = i2c_remove,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment