Staging: most: hdm-i2c: Drop owner assignment from i2c driver
authorShraddha Barke <shraddha.6596@gmail.com>
Mon, 12 Oct 2015 13:14:34 +0000 (18:44 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Oct 2015 03:35:21 +0000 (20:35 -0700)
i2c_driver does not need to set an owner because core will set it

Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/hdm-i2c/hdm_i2c.c

index cffea40d09d0cf10de6d6980144a94e4f2800dab..976828164ccdcca61fe7679f3f9fc8c227dc3a92 100644 (file)
@@ -416,7 +416,6 @@ MODULE_DEVICE_TABLE(i2c, i2c_id);
 static struct i2c_driver i2c_driver = {
        .driver = {
                .name = "hdm_i2c",
-               .owner = THIS_MODULE,
        },
        .probe = i2c_probe,
        .remove = i2c_remove,