input: touchscreen: drop owner assignment from platform_drivers

A platform_driver does not need to set an owner, it will be populated by the
driver core.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
This commit is contained in:
Wolfram Sang
2014-10-20 16:20:41 +02:00
parent 947a0687d1
commit 7b8f16c2d1
17 changed files with 0 additions and 17 deletions

View File

@@ -292,7 +292,6 @@ static int pm860x_touch_probe(struct platform_device *pdev)
static struct platform_driver pm860x_touch_driver = { static struct platform_driver pm860x_touch_driver = {
.driver = { .driver = {
.name = "88pm860x-touch", .name = "88pm860x-touch",
.owner = THIS_MODULE,
}, },
.probe = pm860x_touch_probe, .probe = pm860x_touch_probe,
}; };

View File

@@ -425,7 +425,6 @@ static struct platform_driver atmel_wm97xx_driver = {
.remove = __exit_p(atmel_wm97xx_remove), .remove = __exit_p(atmel_wm97xx_remove),
.driver = { .driver = {
.name = "wm97xx-touch", .name = "wm97xx-touch",
.owner = THIS_MODULE,
.pm = &atmel_wm97xx_pm_ops, .pm = &atmel_wm97xx_pm_ops,
}, },
}; };

View File

@@ -357,7 +357,6 @@ static int da9034_touch_probe(struct platform_device *pdev)
static struct platform_driver da9034_touch_driver = { static struct platform_driver da9034_touch_driver = {
.driver = { .driver = {
.name = "da9034-touch", .name = "da9034-touch",
.owner = THIS_MODULE,
}, },
.probe = da9034_touch_probe, .probe = da9034_touch_probe,
}; };

View File

@@ -337,7 +337,6 @@ static struct platform_driver da9052_tsi_driver = {
.remove = da9052_ts_remove, .remove = da9052_ts_remove,
.driver = { .driver = {
.name = "da9052-tsi", .name = "da9052-tsi",
.owner = THIS_MODULE,
}, },
}; };

View File

@@ -644,7 +644,6 @@ static int mrstouch_probe(struct platform_device *pdev)
static struct platform_driver mrstouch_driver = { static struct platform_driver mrstouch_driver = {
.driver = { .driver = {
.name = "pmic_touch", .name = "pmic_touch",
.owner = THIS_MODULE,
}, },
.probe = mrstouch_probe, .probe = mrstouch_probe,
}; };

View File

@@ -148,7 +148,6 @@ static struct platform_driver jornada720_ts_driver = {
.probe = jornada720_ts_probe, .probe = jornada720_ts_probe,
.driver = { .driver = {
.name = "jornada_ts", .name = "jornada_ts",
.owner = THIS_MODULE,
}, },
}; };
module_platform_driver(jornada720_ts_driver); module_platform_driver(jornada720_ts_driver);

View File

@@ -396,7 +396,6 @@ static struct platform_driver lpc32xx_ts_driver = {
.remove = lpc32xx_ts_remove, .remove = lpc32xx_ts_remove,
.driver = { .driver = {
.name = MOD_NAME, .name = MOD_NAME,
.owner = THIS_MODULE,
.pm = LPC32XX_TS_PM_OPS, .pm = LPC32XX_TS_PM_OPS,
.of_match_table = of_match_ptr(lpc32xx_tsc_of_match), .of_match_table = of_match_ptr(lpc32xx_tsc_of_match),
}, },

View File

@@ -243,7 +243,6 @@ static int mc13783_ts_remove(struct platform_device *pdev)
static struct platform_driver mc13783_ts_driver = { static struct platform_driver mc13783_ts_driver = {
.remove = mc13783_ts_remove, .remove = mc13783_ts_remove,
.driver = { .driver = {
.owner = THIS_MODULE,
.name = MC13783_TS_NAME, .name = MC13783_TS_NAME,
}, },
}; };

View File

@@ -247,7 +247,6 @@ static struct platform_driver pcap_ts_driver = {
.remove = pcap_ts_remove, .remove = pcap_ts_remove,
.driver = { .driver = {
.name = "pcap-ts", .name = "pcap-ts",
.owner = THIS_MODULE,
.pm = PCAP_TS_PM_OPS, .pm = PCAP_TS_PM_OPS,
}, },
}; };

View File

@@ -422,7 +422,6 @@ MODULE_DEVICE_TABLE(platform, s3cts_driver_ids);
static struct platform_driver s3c_ts_driver = { static struct platform_driver s3c_ts_driver = {
.driver = { .driver = {
.name = "samsung-ts", .name = "samsung-ts",
.owner = THIS_MODULE,
#ifdef CONFIG_PM #ifdef CONFIG_PM
.pm = &s3c_ts_pmops, .pm = &s3c_ts_pmops,
#endif #endif

View File

@@ -384,7 +384,6 @@ static int stmpe_ts_remove(struct platform_device *pdev)
static struct platform_driver stmpe_ts_driver = { static struct platform_driver stmpe_ts_driver = {
.driver = { .driver = {
.name = STMPE_TS_NAME, .name = STMPE_TS_NAME,
.owner = THIS_MODULE,
}, },
.probe = stmpe_input_probe, .probe = stmpe_input_probe,
.remove = stmpe_ts_remove, .remove = stmpe_ts_remove,

View File

@@ -324,7 +324,6 @@ MODULE_DEVICE_TABLE(of, sun4i_ts_of_match);
static struct platform_driver sun4i_ts_driver = { static struct platform_driver sun4i_ts_driver = {
.driver = { .driver = {
.owner = THIS_MODULE,
.name = "sun4i-ts", .name = "sun4i-ts",
.of_match_table = of_match_ptr(sun4i_ts_of_match), .of_match_table = of_match_ptr(sun4i_ts_of_match),
}, },

View File

@@ -518,7 +518,6 @@ static struct platform_driver ti_tsc_driver = {
.remove = titsc_remove, .remove = titsc_remove,
.driver = { .driver = {
.name = "TI-am335x-tsc", .name = "TI-am335x-tsc",
.owner = THIS_MODULE,
.pm = TITSC_PM_OPS, .pm = TITSC_PM_OPS,
.of_match_table = ti_tsc_dt_ids, .of_match_table = ti_tsc_dt_ids,
}, },

View File

@@ -314,7 +314,6 @@ static int tps6507x_ts_remove(struct platform_device *pdev)
static struct platform_driver tps6507x_ts_driver = { static struct platform_driver tps6507x_ts_driver = {
.driver = { .driver = {
.name = "tps6507x-ts", .name = "tps6507x-ts",
.owner = THIS_MODULE,
}, },
.probe = tps6507x_ts_probe, .probe = tps6507x_ts_probe,
.remove = tps6507x_ts_remove, .remove = tps6507x_ts_remove,

View File

@@ -444,7 +444,6 @@ static struct platform_driver ucb1400_ts_driver = {
.remove = ucb1400_ts_remove, .remove = ucb1400_ts_remove,
.driver = { .driver = {
.name = "ucb1400_ts", .name = "ucb1400_ts",
.owner = THIS_MODULE,
.pm = &ucb1400_ts_pm_ops, .pm = &ucb1400_ts_pm_ops,
}, },
}; };

View File

@@ -326,7 +326,6 @@ static struct platform_driver w90x900ts_driver = {
.remove = w90x900ts_remove, .remove = w90x900ts_remove,
.driver = { .driver = {
.name = "nuc900-ts", .name = "nuc900-ts",
.owner = THIS_MODULE,
}, },
}; };
module_platform_driver(w90x900ts_driver); module_platform_driver(w90x900ts_driver);

View File

@@ -392,7 +392,6 @@ static int wm831x_ts_remove(struct platform_device *pdev)
static struct platform_driver wm831x_ts_driver = { static struct platform_driver wm831x_ts_driver = {
.driver = { .driver = {
.name = "wm831x-touch", .name = "wm831x-touch",
.owner = THIS_MODULE,
}, },
.probe = wm831x_ts_probe, .probe = wm831x_ts_probe,
.remove = wm831x_ts_remove, .remove = wm831x_ts_remove,