char: ipmi: Drop owner assignment from i2c_driver
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Thu, 19 Nov 2015 03:56:39 +0000 (12:56 +0900)
committerCorey Minyard <cminyard@mvista.com>
Tue, 12 Jan 2016 21:08:49 +0000 (15:08 -0600)
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>
drivers/char/ipmi/ipmi_ssif.c

index 90e6246622572966a9037350e8fdabed743d7961..5f1c3d08ba6540e4afc9469f888e442862d09fa3 100644 (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,