Input: ft6236 - do not explicitly set driver's owner
authorFengguang Wu <fengguang.wu@intel.com>
Tue, 6 Oct 2015 22:37:02 +0000 (15:37 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 6 Oct 2015 23:38:41 +0000 (16:38 -0700)
There is no need to explicitly set .owner for the driver, the core will do
it for us.

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/ft6236.c

index cccae193668e56e5458953b856167e8a30d368f4..a394cd48dd3c00f928b74c18acbeef292459755a 100644 (file)
@@ -313,7 +313,6 @@ MODULE_DEVICE_TABLE(i2c, ft6236_id);
 static struct i2c_driver ft6236_driver = {
        .driver = {
                .name = "ft6236",
-               .owner = THIS_MODULE,
                .of_match_table = of_match_ptr(ft6236_of_match),
        },
        .probe = ft6236_probe,