Commit 800e3b9a authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Dmitry Torokhov

Input: 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>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent cee3d8cc
...@@ -1097,7 +1097,6 @@ MODULE_DEVICE_TABLE(i2c, adp5589_id); ...@@ -1097,7 +1097,6 @@ MODULE_DEVICE_TABLE(i2c, adp5589_id);
static struct i2c_driver adp5589_driver = { static struct i2c_driver adp5589_driver = {
.driver = { .driver = {
.name = KBUILD_MODNAME, .name = KBUILD_MODNAME,
.owner = THIS_MODULE,
.pm = &adp5589_dev_pm_ops, .pm = &adp5589_dev_pm_ops,
}, },
.probe = adp5589_probe, .probe = adp5589_probe,
......
...@@ -361,7 +361,6 @@ MODULE_DEVICE_TABLE(i2c, cap11xx_i2c_ids); ...@@ -361,7 +361,6 @@ MODULE_DEVICE_TABLE(i2c, cap11xx_i2c_ids);
static struct i2c_driver cap11xx_i2c_driver = { static struct i2c_driver cap11xx_i2c_driver = {
.driver = { .driver = {
.name = "cap11xx", .name = "cap11xx",
.owner = THIS_MODULE,
.of_match_table = cap11xx_dt_ids, .of_match_table = cap11xx_dt_ids,
}, },
.id_table = cap11xx_i2c_ids, .id_table = cap11xx_i2c_ids,
......
...@@ -223,7 +223,6 @@ MODULE_DEVICE_TABLE(i2c, lm8333_id); ...@@ -223,7 +223,6 @@ MODULE_DEVICE_TABLE(i2c, lm8333_id);
static struct i2c_driver lm8333_driver = { static struct i2c_driver lm8333_driver = {
.driver = { .driver = {
.name = "lm8333", .name = "lm8333",
.owner = THIS_MODULE,
}, },
.probe = lm8333_probe, .probe = lm8333_probe,
.remove = lm8333_remove, .remove = lm8333_remove,
......
...@@ -265,7 +265,6 @@ MODULE_DEVICE_TABLE(i2c, mcs_touchkey_id); ...@@ -265,7 +265,6 @@ MODULE_DEVICE_TABLE(i2c, mcs_touchkey_id);
static struct i2c_driver mcs_touchkey_driver = { static struct i2c_driver mcs_touchkey_driver = {
.driver = { .driver = {
.name = "mcs_touchkey", .name = "mcs_touchkey",
.owner = THIS_MODULE,
.pm = &mcs_touchkey_pm_ops, .pm = &mcs_touchkey_pm_ops,
}, },
.probe = mcs_touchkey_probe, .probe = mcs_touchkey_probe,
......
...@@ -305,7 +305,6 @@ MODULE_DEVICE_TABLE(i2c, mpr121_id); ...@@ -305,7 +305,6 @@ MODULE_DEVICE_TABLE(i2c, mpr121_id);
static struct i2c_driver mpr_touchkey_driver = { static struct i2c_driver mpr_touchkey_driver = {
.driver = { .driver = {
.name = "mpr121", .name = "mpr121",
.owner = THIS_MODULE,
.pm = &mpr121_touchkey_pm_ops, .pm = &mpr121_touchkey_pm_ops,
}, },
.id_table = mpr121_id, .id_table = mpr121_id,
......
...@@ -277,7 +277,6 @@ MODULE_DEVICE_TABLE(i2c, qt1070_id); ...@@ -277,7 +277,6 @@ MODULE_DEVICE_TABLE(i2c, qt1070_id);
static struct i2c_driver qt1070_driver = { static struct i2c_driver qt1070_driver = {
.driver = { .driver = {
.name = "qt1070", .name = "qt1070",
.owner = THIS_MODULE,
.pm = &qt1070_pm_ops, .pm = &qt1070_pm_ops,
}, },
.id_table = qt1070_id, .id_table = qt1070_id,
......
...@@ -497,7 +497,6 @@ MODULE_DEVICE_TABLE(i2c, qt2160_idtable); ...@@ -497,7 +497,6 @@ MODULE_DEVICE_TABLE(i2c, qt2160_idtable);
static struct i2c_driver qt2160_driver = { static struct i2c_driver qt2160_driver = {
.driver = { .driver = {
.name = "qt2160", .name = "qt2160",
.owner = THIS_MODULE,
}, },
.id_table = qt2160_idtable, .id_table = qt2160_idtable,
......
...@@ -404,7 +404,6 @@ MODULE_ALIAS("i2c:tca8418"); ...@@ -404,7 +404,6 @@ MODULE_ALIAS("i2c:tca8418");
static struct i2c_driver tca8418_keypad_driver = { static struct i2c_driver tca8418_keypad_driver = {
.driver = { .driver = {
.name = TCA8418_NAME, .name = TCA8418_NAME,
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(tca8418_dt_ids), .of_match_table = of_match_ptr(tca8418_dt_ids),
}, },
.probe = tca8418_keypad_probe, .probe = tca8418_keypad_probe,
......
...@@ -158,7 +158,6 @@ MODULE_DEVICE_TABLE(of, adxl34x_of_id); ...@@ -158,7 +158,6 @@ MODULE_DEVICE_TABLE(of, adxl34x_of_id);
static struct i2c_driver adxl34x_driver = { static struct i2c_driver adxl34x_driver = {
.driver = { .driver = {
.name = "adxl34x", .name = "adxl34x",
.owner = THIS_MODULE,
.pm = &adxl34x_i2c_pm, .pm = &adxl34x_i2c_pm,
.of_match_table = of_match_ptr(adxl34x_of_id), .of_match_table = of_match_ptr(adxl34x_of_id),
}, },
......
...@@ -653,7 +653,6 @@ MODULE_DEVICE_TABLE(i2c, bma150_id); ...@@ -653,7 +653,6 @@ MODULE_DEVICE_TABLE(i2c, bma150_id);
static struct i2c_driver bma150_driver = { static struct i2c_driver bma150_driver = {
.driver = { .driver = {
.owner = THIS_MODULE,
.name = BMA150_DRIVER, .name = BMA150_DRIVER,
.pm = &bma150_pm, .pm = &bma150_pm,
}, },
......
...@@ -118,7 +118,6 @@ static struct i2c_driver cma3000_i2c_driver = { ...@@ -118,7 +118,6 @@ static struct i2c_driver cma3000_i2c_driver = {
.id_table = cma3000_i2c_id, .id_table = cma3000_i2c_id,
.driver = { .driver = {
.name = "cma3000_i2c_accl", .name = "cma3000_i2c_accl",
.owner = THIS_MODULE,
#ifdef CONFIG_PM #ifdef CONFIG_PM
.pm = &cma3000_i2c_pm_ops, .pm = &cma3000_i2c_pm_ops,
#endif #endif
......
...@@ -720,7 +720,6 @@ static struct i2c_driver drv260x_driver = { ...@@ -720,7 +720,6 @@ static struct i2c_driver drv260x_driver = {
.probe = drv260x_probe, .probe = drv260x_probe,
.driver = { .driver = {
.name = "drv260x-haptics", .name = "drv260x-haptics",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(drv260x_of_match), .of_match_table = of_match_ptr(drv260x_of_match),
.pm = &drv260x_pm_ops, .pm = &drv260x_pm_ops,
}, },
......
...@@ -309,7 +309,6 @@ static struct i2c_driver drv2665_driver = { ...@@ -309,7 +309,6 @@ static struct i2c_driver drv2665_driver = {
.probe = drv2665_probe, .probe = drv2665_probe,
.driver = { .driver = {
.name = "drv2665-haptics", .name = "drv2665-haptics",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(drv2665_of_match), .of_match_table = of_match_ptr(drv2665_of_match),
.pm = &drv2665_pm_ops, .pm = &drv2665_pm_ops,
}, },
......
...@@ -484,7 +484,6 @@ static struct i2c_driver drv2667_driver = { ...@@ -484,7 +484,6 @@ static struct i2c_driver drv2667_driver = {
.probe = drv2667_probe, .probe = drv2667_probe,
.driver = { .driver = {
.name = "drv2667-haptics", .name = "drv2667-haptics",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(drv2667_of_match), .of_match_table = of_match_ptr(drv2667_of_match),
.pm = &drv2667_pm_ops, .pm = &drv2667_pm_ops,
}, },
......
...@@ -271,7 +271,6 @@ static const struct i2c_device_id gp2a_i2c_id[] = { ...@@ -271,7 +271,6 @@ static const struct i2c_device_id gp2a_i2c_id[] = {
static struct i2c_driver gp2a_i2c_driver = { static struct i2c_driver gp2a_i2c_driver = {
.driver = { .driver = {
.name = GP2A_I2C_NAME, .name = GP2A_I2C_NAME,
.owner = THIS_MODULE,
.pm = &gp2a_pm, .pm = &gp2a_pm,
}, },
.probe = gp2a_probe, .probe = gp2a_probe,
......
...@@ -658,7 +658,6 @@ MODULE_DEVICE_TABLE(i2c, kxtj9_id); ...@@ -658,7 +658,6 @@ MODULE_DEVICE_TABLE(i2c, kxtj9_id);
static struct i2c_driver kxtj9_driver = { static struct i2c_driver kxtj9_driver = {
.driver = { .driver = {
.name = NAME, .name = NAME,
.owner = THIS_MODULE,
.pm = &kxtj9_pm_ops, .pm = &kxtj9_pm_ops,
}, },
.probe = kxtj9_probe, .probe = kxtj9_probe,
......
...@@ -466,7 +466,6 @@ MODULE_DEVICE_TABLE(of, mpu3050_of_match); ...@@ -466,7 +466,6 @@ MODULE_DEVICE_TABLE(of, mpu3050_of_match);
static struct i2c_driver mpu3050_i2c_driver = { static struct i2c_driver mpu3050_i2c_driver = {
.driver = { .driver = {
.name = "mpu3050", .name = "mpu3050",
.owner = THIS_MODULE,
.pm = &mpu3050_pm, .pm = &mpu3050_pm,
.of_match_table = mpu3050_of_match, .of_match_table = mpu3050_of_match,
}, },
......
...@@ -208,7 +208,6 @@ MODULE_DEVICE_TABLE(i2c, pcf8574_kp_id); ...@@ -208,7 +208,6 @@ MODULE_DEVICE_TABLE(i2c, pcf8574_kp_id);
static struct i2c_driver pcf8574_kp_driver = { static struct i2c_driver pcf8574_kp_driver = {
.driver = { .driver = {
.name = DRV_NAME, .name = DRV_NAME,
.owner = THIS_MODULE,
#ifdef CONFIG_PM #ifdef CONFIG_PM
.pm = &pcf8574_kp_pm_ops, .pm = &pcf8574_kp_pm_ops,
#endif #endif
......
...@@ -1382,7 +1382,6 @@ MODULE_DEVICE_TABLE(acpi, cyapa_acpi_id); ...@@ -1382,7 +1382,6 @@ MODULE_DEVICE_TABLE(acpi, cyapa_acpi_id);
static struct i2c_driver cyapa_driver = { static struct i2c_driver cyapa_driver = {
.driver = { .driver = {
.name = "cyapa", .name = "cyapa",
.owner = THIS_MODULE,
.pm = &cyapa_pm_ops, .pm = &cyapa_pm_ops,
.acpi_match_table = ACPI_PTR(cyapa_acpi_id), .acpi_match_table = ACPI_PTR(cyapa_acpi_id),
}, },
......
...@@ -1183,7 +1183,6 @@ MODULE_DEVICE_TABLE(of, elan_of_match); ...@@ -1183,7 +1183,6 @@ MODULE_DEVICE_TABLE(of, elan_of_match);
static struct i2c_driver elan_driver = { static struct i2c_driver elan_driver = {
.driver = { .driver = {
.name = DRIVER_NAME, .name = DRIVER_NAME,
.owner = THIS_MODULE,
.pm = &elan_pm_ops, .pm = &elan_pm_ops,
.acpi_match_table = ACPI_PTR(elan_acpi_id), .acpi_match_table = ACPI_PTR(elan_acpi_id),
.of_match_table = of_match_ptr(elan_of_match), .of_match_table = of_match_ptr(elan_of_match),
......
...@@ -655,7 +655,6 @@ MODULE_DEVICE_TABLE(i2c, synaptics_i2c_id_table); ...@@ -655,7 +655,6 @@ MODULE_DEVICE_TABLE(i2c, synaptics_i2c_id_table);
static struct i2c_driver synaptics_i2c_driver = { static struct i2c_driver synaptics_i2c_driver = {
.driver = { .driver = {
.name = DRIVER_NAME, .name = DRIVER_NAME,
.owner = THIS_MODULE,
.pm = &synaptics_i2c_pm, .pm = &synaptics_i2c_pm,
}, },
......
...@@ -94,7 +94,6 @@ MODULE_DEVICE_TABLE(i2c, ad7879_id); ...@@ -94,7 +94,6 @@ MODULE_DEVICE_TABLE(i2c, ad7879_id);
static struct i2c_driver ad7879_i2c_driver = { static struct i2c_driver ad7879_i2c_driver = {
.driver = { .driver = {
.name = "ad7879", .name = "ad7879",
.owner = THIS_MODULE,
.pm = &ad7879_pm_ops, .pm = &ad7879_pm_ops,
}, },
.probe = ad7879_i2c_probe, .probe = ad7879_i2c_probe,
......
...@@ -166,7 +166,6 @@ MODULE_DEVICE_TABLE(of, ar1021_i2c_of_match); ...@@ -166,7 +166,6 @@ MODULE_DEVICE_TABLE(of, ar1021_i2c_of_match);
static struct i2c_driver ar1021_i2c_driver = { static struct i2c_driver ar1021_i2c_driver = {
.driver = { .driver = {
.name = "ar1021_i2c", .name = "ar1021_i2c",
.owner = THIS_MODULE,
.pm = &ar1021_i2c_pm, .pm = &ar1021_i2c_pm,
.of_match_table = ar1021_i2c_of_match, .of_match_table = ar1021_i2c_of_match,
}, },
......
...@@ -2666,7 +2666,6 @@ MODULE_DEVICE_TABLE(i2c, mxt_id); ...@@ -2666,7 +2666,6 @@ MODULE_DEVICE_TABLE(i2c, mxt_id);
static struct i2c_driver mxt_driver = { static struct i2c_driver mxt_driver = {
.driver = { .driver = {
.name = "atmel_mxt_ts", .name = "atmel_mxt_ts",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(mxt_of_match), .of_match_table = of_match_ptr(mxt_of_match),
.acpi_match_table = ACPI_PTR(mxt_acpi_id), .acpi_match_table = ACPI_PTR(mxt_acpi_id),
.pm = &mxt_pm_ops, .pm = &mxt_pm_ops,
......
...@@ -686,7 +686,6 @@ MODULE_DEVICE_TABLE(of, auo_pixcir_ts_dt_idtable); ...@@ -686,7 +686,6 @@ MODULE_DEVICE_TABLE(of, auo_pixcir_ts_dt_idtable);
static struct i2c_driver auo_pixcir_driver = { static struct i2c_driver auo_pixcir_driver = {
.driver = { .driver = {
.owner = THIS_MODULE,
.name = "auo_pixcir_ts", .name = "auo_pixcir_ts",
.pm = &auo_pixcir_pm_ops, .pm = &auo_pixcir_pm_ops,
.of_match_table = of_match_ptr(auo_pixcir_ts_dt_idtable), .of_match_table = of_match_ptr(auo_pixcir_ts_dt_idtable),
......
...@@ -716,7 +716,6 @@ MODULE_DEVICE_TABLE(i2c, bu21013_id); ...@@ -716,7 +716,6 @@ MODULE_DEVICE_TABLE(i2c, bu21013_id);
static struct i2c_driver bu21013_driver = { static struct i2c_driver bu21013_driver = {
.driver = { .driver = {
.name = DRIVER_TP, .name = DRIVER_TP,
.owner = THIS_MODULE,
#ifdef CONFIG_PM #ifdef CONFIG_PM
.pm = &bu21013_dev_pm_ops, .pm = &bu21013_dev_pm_ops,
#endif #endif
......
...@@ -300,7 +300,6 @@ MODULE_DEVICE_TABLE(i2c, icn8318_i2c_id); ...@@ -300,7 +300,6 @@ MODULE_DEVICE_TABLE(i2c, icn8318_i2c_id);
static struct i2c_driver icn8318_driver = { static struct i2c_driver icn8318_driver = {
.driver = { .driver = {
.owner = THIS_MODULE,
.name = "chipone_icn8318", .name = "chipone_icn8318",
.pm = &icn8318_pm_ops, .pm = &icn8318_pm_ops,
.of_match_table = icn8318_of_match, .of_match_table = icn8318_of_match,
......
...@@ -347,7 +347,6 @@ MODULE_DEVICE_TABLE(i2c, cy8ctmg110_idtable); ...@@ -347,7 +347,6 @@ MODULE_DEVICE_TABLE(i2c, cy8ctmg110_idtable);
static struct i2c_driver cy8ctmg110_driver = { static struct i2c_driver cy8ctmg110_driver = {
.driver = { .driver = {
.owner = THIS_MODULE,
.name = CY8CTMG110_DRIVER_NAME, .name = CY8CTMG110_DRIVER_NAME,
.pm = &cy8ctmg110_pm, .pm = &cy8ctmg110_pm,
}, },
......
...@@ -74,7 +74,6 @@ MODULE_DEVICE_TABLE(i2c, cyttsp4_i2c_id); ...@@ -74,7 +74,6 @@ MODULE_DEVICE_TABLE(i2c, cyttsp4_i2c_id);
static struct i2c_driver cyttsp4_i2c_driver = { static struct i2c_driver cyttsp4_i2c_driver = {
.driver = { .driver = {
.name = CYTTSP4_I2C_NAME, .name = CYTTSP4_I2C_NAME,
.owner = THIS_MODULE,
.pm = &cyttsp4_pm_ops, .pm = &cyttsp4_pm_ops,
}, },
.probe = cyttsp4_i2c_probe, .probe = cyttsp4_i2c_probe,
......
...@@ -74,7 +74,6 @@ MODULE_DEVICE_TABLE(i2c, cyttsp_i2c_id); ...@@ -74,7 +74,6 @@ MODULE_DEVICE_TABLE(i2c, cyttsp_i2c_id);
static struct i2c_driver cyttsp_i2c_driver = { static struct i2c_driver cyttsp_i2c_driver = {
.driver = { .driver = {
.name = CY_I2C_NAME, .name = CY_I2C_NAME,
.owner = THIS_MODULE,
.pm = &cyttsp_pm_ops, .pm = &cyttsp_pm_ops,
}, },
.probe = cyttsp_i2c_probe, .probe = cyttsp_i2c_probe,
......
...@@ -1134,7 +1134,6 @@ MODULE_DEVICE_TABLE(of, edt_ft5x06_of_match); ...@@ -1134,7 +1134,6 @@ MODULE_DEVICE_TABLE(of, edt_ft5x06_of_match);
static struct i2c_driver edt_ft5x06_ts_driver = { static struct i2c_driver edt_ft5x06_ts_driver = {
.driver = { .driver = {
.owner = THIS_MODULE,
.name = "edt_ft5x06", .name = "edt_ft5x06",
.of_match_table = of_match_ptr(edt_ft5x06_of_match), .of_match_table = of_match_ptr(edt_ft5x06_of_match),
.pm = &edt_ft5x06_ts_pm_ops, .pm = &edt_ft5x06_ts_pm_ops,
......
...@@ -268,7 +268,6 @@ static const struct of_device_id egalax_ts_dt_ids[] = { ...@@ -268,7 +268,6 @@ static const struct of_device_id egalax_ts_dt_ids[] = {
static struct i2c_driver egalax_ts_driver = { static struct i2c_driver egalax_ts_driver = {
.driver = { .driver = {
.name = "egalax_ts", .name = "egalax_ts",
.owner = THIS_MODULE,
.pm = &egalax_ts_pm_ops, .pm = &egalax_ts_pm_ops,
.of_match_table = egalax_ts_dt_ids, .of_match_table = egalax_ts_dt_ids,
}, },
......
...@@ -1261,7 +1261,6 @@ static struct i2c_driver elants_i2c_driver = { ...@@ -1261,7 +1261,6 @@ static struct i2c_driver elants_i2c_driver = {
.id_table = elants_i2c_id, .id_table = elants_i2c_id,
.driver = { .driver = {
.name = DEVICE_NAME, .name = DEVICE_NAME,
.owner = THIS_MODULE,
.pm = &elants_i2c_pm_ops, .pm = &elants_i2c_pm_ops,
.acpi_match_table = ACPI_PTR(elants_acpi_id), .acpi_match_table = ACPI_PTR(elants_acpi_id),
.of_match_table = of_match_ptr(elants_of_match), .of_match_table = of_match_ptr(elants_of_match),
......
...@@ -412,7 +412,6 @@ static struct i2c_driver goodix_ts_driver = { ...@@ -412,7 +412,6 @@ static struct i2c_driver goodix_ts_driver = {
.id_table = goodix_ts_id, .id_table = goodix_ts_id,
.driver = { .driver = {
.name = "Goodix-TS", .name = "Goodix-TS",
.owner = THIS_MODULE,
.acpi_match_table = ACPI_PTR(goodix_acpi_match), .acpi_match_table = ACPI_PTR(goodix_acpi_match),
.of_match_table = of_match_ptr(goodix_of_match), .of_match_table = of_match_ptr(goodix_of_match),
}, },
......
...@@ -343,7 +343,6 @@ MODULE_DEVICE_TABLE(i2c, ili210x_i2c_id); ...@@ -343,7 +343,6 @@ MODULE_DEVICE_TABLE(i2c, ili210x_i2c_id);
static struct i2c_driver ili210x_ts_driver = { static struct i2c_driver ili210x_ts_driver = {
.driver = { .driver = {
.name = "ili210x_i2c", .name = "ili210x_i2c",
.owner = THIS_MODULE,
.pm = &ili210x_i2c_pm, .pm = &ili210x_i2c_pm,
}, },
.id_table = ili210x_i2c_id, .id_table = ili210x_i2c_id,
......
...@@ -229,7 +229,6 @@ MODULE_DEVICE_TABLE(i2c, max11801_ts_id); ...@@ -229,7 +229,6 @@ MODULE_DEVICE_TABLE(i2c, max11801_ts_id);
static struct i2c_driver max11801_ts_driver = { static struct i2c_driver max11801_ts_driver = {
.driver = { .driver = {
.name = "max11801_ts", .name = "max11801_ts",
.owner = THIS_MODULE,
}, },
.id_table = max11801_ts_id, .id_table = max11801_ts_id,
.probe = max11801_ts_probe, .probe = max11801_ts_probe,
......
...@@ -577,7 +577,6 @@ static const struct of_device_id mms114_dt_match[] = { ...@@ -577,7 +577,6 @@ static const struct of_device_id mms114_dt_match[] = {
static struct i2c_driver mms114_driver = { static struct i2c_driver mms114_driver = {
.driver = { .driver = {
.name = "mms114", .name = "mms114",
.owner = THIS_MODULE,
.pm = &mms114_pm_ops, .pm = &mms114_pm_ops,
.of_match_table = of_match_ptr(mms114_dt_match), .of_match_table = of_match_ptr(mms114_dt_match),
}, },
......
...@@ -604,7 +604,6 @@ MODULE_DEVICE_TABLE(of, pixcir_of_match); ...@@ -604,7 +604,6 @@ MODULE_DEVICE_TABLE(of, pixcir_of_match);
static struct i2c_driver pixcir_i2c_ts_driver = { static struct i2c_driver pixcir_i2c_ts_driver = {
.driver = { .driver = {
.owner = THIS_MODULE,
.name = "pixcir_ts", .name = "pixcir_ts",
.pm = &pixcir_dev_pm_ops, .pm = &pixcir_dev_pm_ops,
.of_match_table = of_match_ptr(pixcir_of_match), .of_match_table = of_match_ptr(pixcir_of_match),
......
...@@ -296,7 +296,6 @@ static struct i2c_driver st1232_ts_driver = { ...@@ -296,7 +296,6 @@ static struct i2c_driver st1232_ts_driver = {
.id_table = st1232_ts_id, .id_table = st1232_ts_id,
.driver = { .driver = {
.name = ST1232_TS_NAME, .name = ST1232_TS_NAME,
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(st1232_ts_dt_ids), .of_match_table = of_match_ptr(st1232_ts_dt_ids),
.pm = &st1232_ts_pm_ops, .pm = &st1232_ts_pm_ops,
}, },
......
...@@ -482,7 +482,6 @@ MODULE_DEVICE_TABLE(of, tsc2007_of_match); ...@@ -482,7 +482,6 @@ MODULE_DEVICE_TABLE(of, tsc2007_of_match);
static struct i2c_driver tsc2007_driver = { static struct i2c_driver tsc2007_driver = {
.driver = { .driver = {
.owner = THIS_MODULE,
.name = "tsc2007", .name = "tsc2007",
.of_match_table = of_match_ptr(tsc2007_of_match), .of_match_table = of_match_ptr(tsc2007_of_match),
}, },
......
...@@ -271,7 +271,6 @@ MODULE_DEVICE_TABLE(i2c, wacom_i2c_id); ...@@ -271,7 +271,6 @@ MODULE_DEVICE_TABLE(i2c, wacom_i2c_id);
static struct i2c_driver wacom_i2c_driver = { static struct i2c_driver wacom_i2c_driver = {
.driver = { .driver = {
.name = "wacom_i2c", .name = "wacom_i2c",
.owner = THIS_MODULE,
.pm = &wacom_i2c_pm, .pm = &wacom_i2c_pm,
}, },
......
...@@ -919,7 +919,6 @@ MODULE_DEVICE_TABLE(of, zforce_dt_idtable); ...@@ -919,7 +919,6 @@ MODULE_DEVICE_TABLE(of, zforce_dt_idtable);
static struct i2c_driver zforce_driver = { static struct i2c_driver zforce_driver = {
.driver = { .driver = {
.owner = THIS_MODULE,
.name = "zforce-ts", .name = "zforce-ts",
.pm = &zforce_pm_ops, .pm = &zforce_pm_ops,
.of_match_table = of_match_ptr(zforce_dt_idtable), .of_match_table = of_match_ptr(zforce_dt_idtable),
......
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