Commit aad756f8 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Corey Minyard

char: ipmi: 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: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
parent 99ee6735
...@@ -1959,7 +1959,6 @@ MODULE_DEVICE_TABLE(i2c, ssif_id); ...@@ -1959,7 +1959,6 @@ MODULE_DEVICE_TABLE(i2c, ssif_id);
static struct i2c_driver ssif_i2c_driver = { static struct i2c_driver ssif_i2c_driver = {
.class = I2C_CLASS_HWMON, .class = I2C_CLASS_HWMON,
.driver = { .driver = {
.owner = THIS_MODULE,
.name = DEVICE_NAME .name = DEVICE_NAME
}, },
.probe = ssif_probe, .probe = ssif_probe,
......
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