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: Krzysztof Kozlowski <k.kozlowski@samsung.com>
This commit is contained in:
Krzysztof Kozlowski 2015-11-19 12:56:39 +09:00 committed by Corey Minyard
parent 99ee67351b
commit aad756f869

View file

@ -1959,7 +1959,6 @@ MODULE_DEVICE_TABLE(i2c, ssif_id);
static struct i2c_driver ssif_i2c_driver = {
.class = I2C_CLASS_HWMON,
.driver = {
.owner = THIS_MODULE,
.name = DEVICE_NAME
},
.probe = ssif_probe,