]> git.karo-electronics.de Git - linux-beck.git/commitdiff
input: touchscreen: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:41 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:41 +0000 (16:20 +0200)
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>
17 files changed:
drivers/input/touchscreen/88pm860x-ts.c
drivers/input/touchscreen/atmel-wm97xx.c
drivers/input/touchscreen/da9034-ts.c
drivers/input/touchscreen/da9052_tsi.c
drivers/input/touchscreen/intel-mid-touch.c
drivers/input/touchscreen/jornada720_ts.c
drivers/input/touchscreen/lpc32xx_ts.c
drivers/input/touchscreen/mc13783_ts.c
drivers/input/touchscreen/pcap_ts.c
drivers/input/touchscreen/s3c2410_ts.c
drivers/input/touchscreen/stmpe-ts.c
drivers/input/touchscreen/sun4i-ts.c
drivers/input/touchscreen/ti_am335x_tsc.c
drivers/input/touchscreen/tps6507x-ts.c
drivers/input/touchscreen/ucb1400_ts.c
drivers/input/touchscreen/w90p910_ts.c
drivers/input/touchscreen/wm831x-ts.c

index 0d4a9fad4a78bc68bc5d51aa41ad27b64c707a3a..251ff2aa0633170a7c1bcf09c1ba194893a53cd9 100644 (file)
@@ -292,7 +292,6 @@ static int pm860x_touch_probe(struct platform_device *pdev)
 static struct platform_driver pm860x_touch_driver = {
        .driver = {
                .name   = "88pm860x-touch",
-               .owner  = THIS_MODULE,
        },
        .probe  = pm860x_touch_probe,
 };
index 279c0e42b8a7515a161550621ac82dd2ccd7d0f0..7ec0421c0dd82b9e9f445581abef1fdc8df5155d 100644 (file)
@@ -425,7 +425,6 @@ static struct platform_driver atmel_wm97xx_driver = {
        .remove         = __exit_p(atmel_wm97xx_remove),
        .driver         = {
                .name   = "wm97xx-touch",
-               .owner  = THIS_MODULE,
                .pm     = &atmel_wm97xx_pm_ops,
        },
 };
index cf6f4b31db4d60ac3ade9d290782a507ef019f87..8264822dc4b9e96243a99fd7af50653e353857d5 100644 (file)
@@ -357,7 +357,6 @@ static int da9034_touch_probe(struct platform_device *pdev)
 static struct platform_driver da9034_touch_driver = {
        .driver = {
                .name   = "da9034-touch",
-               .owner  = THIS_MODULE,
        },
        .probe          = da9034_touch_probe,
 };
index ab64d58c3ac03ca8a403da32cd5540d0d54d79b0..5a013bb7bcaddc1626ccfeca3834bb6860ff1ad0 100644 (file)
@@ -337,7 +337,6 @@ static struct platform_driver da9052_tsi_driver = {
        .remove = da9052_ts_remove,
        .driver = {
                .name   = "da9052-tsi",
-               .owner  = THIS_MODULE,
        },
 };
 
index c38ca4a7e38694ddff666d5307c816e0afde6244..b4f0725a1c3da3f08d4ee3cf42c60992b298743d 100644 (file)
@@ -644,7 +644,6 @@ static int mrstouch_probe(struct platform_device *pdev)
 static struct platform_driver mrstouch_driver = {
        .driver = {
                .name   = "pmic_touch",
-               .owner  = THIS_MODULE,
        },
        .probe          = mrstouch_probe,
 };
index 651ec71a5c683ed290aaeb866ff95770e275462a..ea3b6a5b83e689771031834a83f8885c58ca8491 100644 (file)
@@ -148,7 +148,6 @@ static struct platform_driver jornada720_ts_driver = {
        .probe          = jornada720_ts_probe,
        .driver         = {
                .name   = "jornada_ts",
-               .owner  = THIS_MODULE,
        },
 };
 module_platform_driver(jornada720_ts_driver);
index bb47d3442a35ee9111bcb2ccbe420ed2d9e134b4..24d704cd9f882fb8517d036b00d5f64d46787993 100644 (file)
@@ -396,7 +396,6 @@ static struct platform_driver lpc32xx_ts_driver = {
        .remove         = lpc32xx_ts_remove,
        .driver         = {
                .name   = MOD_NAME,
-               .owner  = THIS_MODULE,
                .pm     = LPC32XX_TS_PM_OPS,
                .of_match_table = of_match_ptr(lpc32xx_tsc_of_match),
        },
index d6f099c47f84b09ab484f0df3628cdaefb5bc1a8..913e25a994b44422d446c2366ed3a27fa90a681d 100644 (file)
@@ -243,7 +243,6 @@ static int mc13783_ts_remove(struct platform_device *pdev)
 static struct platform_driver mc13783_ts_driver = {
        .remove         = mc13783_ts_remove,
        .driver         = {
-               .owner  = THIS_MODULE,
                .name   = MC13783_TS_NAME,
        },
 };
index cff2376817e5fc564f5173eb3c48d850491e661a..23a354a392aed7ab259bf3d8f0a53203dbab28b7 100644 (file)
@@ -247,7 +247,6 @@ static struct platform_driver pcap_ts_driver = {
        .remove         = pcap_ts_remove,
        .driver         = {
                .name   = "pcap-ts",
-               .owner  = THIS_MODULE,
                .pm     = PCAP_TS_PM_OPS,
        },
 };
index 5a69ded9b53cda2a34c9d556d3e9867bb755e26e..bdfa27dc097b6bec46bff5db20fe06baa63c6720 100644 (file)
@@ -422,7 +422,6 @@ MODULE_DEVICE_TABLE(platform, s3cts_driver_ids);
 static struct platform_driver s3c_ts_driver = {
        .driver         = {
                .name   = "samsung-ts",
-               .owner  = THIS_MODULE,
 #ifdef CONFIG_PM
                .pm     = &s3c_ts_pmops,
 #endif
index 42ce31afa259e80d674b4cf2071e4c7cff5f4be0..2d5ff86b343fbc30f1abf9e363333164311bfec6 100644 (file)
@@ -384,7 +384,6 @@ static int stmpe_ts_remove(struct platform_device *pdev)
 static struct platform_driver stmpe_ts_driver = {
        .driver = {
                   .name = STMPE_TS_NAME,
-                  .owner = THIS_MODULE,
                   },
        .probe = stmpe_input_probe,
        .remove = stmpe_ts_remove,
index 2ba8260249548c29e5f1d95a4aff0f7726062aa1..28a06749ae42b77c9dc1425af525eef1a7590238 100644 (file)
@@ -324,7 +324,6 @@ MODULE_DEVICE_TABLE(of, sun4i_ts_of_match);
 
 static struct platform_driver sun4i_ts_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "sun4i-ts",
                .of_match_table = of_match_ptr(sun4i_ts_of_match),
        },
index 2ce649520fe0d67021509b7e829cf1dbb9858e19..004f1346a95700bee2ce956b66a81b98622ab5a7 100644 (file)
@@ -518,7 +518,6 @@ static struct platform_driver ti_tsc_driver = {
        .remove = titsc_remove,
        .driver = {
                .name   = "TI-am335x-tsc",
-               .owner  = THIS_MODULE,
                .pm     = TITSC_PM_OPS,
                .of_match_table = ti_tsc_dt_ids,
        },
index 94cde2cb14917cbdfac37dc787c172ec1dd120c8..4ffd829d1990a2d0e66d8c7fdf0fa2151f6c0504 100644 (file)
@@ -314,7 +314,6 @@ static int tps6507x_ts_remove(struct platform_device *pdev)
 static struct platform_driver tps6507x_ts_driver = {
        .driver = {
                .name = "tps6507x-ts",
-               .owner = THIS_MODULE,
        },
        .probe = tps6507x_ts_probe,
        .remove = tps6507x_ts_remove,
index b46c55cd1bbb89ada7b5d3aaf5959b3dd55554a3..0eca00da584bb6e696ef81b4066b71647cbfab55 100644 (file)
@@ -444,7 +444,6 @@ static struct platform_driver ucb1400_ts_driver = {
        .remove = ucb1400_ts_remove,
        .driver = {
                .name   = "ucb1400_ts",
-               .owner  = THIS_MODULE,
                .pm     = &ucb1400_ts_pm_ops,
        },
 };
index 003d0c3b5d08f091a32f97e401e83b59550de9a6..da6004e97753e2e3c7cd682db5a8e3336da7840d 100644 (file)
@@ -326,7 +326,6 @@ static struct platform_driver w90x900ts_driver = {
        .remove         = w90x900ts_remove,
        .driver         = {
                .name   = "nuc900-ts",
-               .owner  = THIS_MODULE,
        },
 };
 module_platform_driver(w90x900ts_driver);
index 1b953a066b2c4134191d398ffc71389fd6ca6275..1db0a1410929a5775e5899bdacdc41bb6aaa0a78 100644 (file)
@@ -392,7 +392,6 @@ static int wm831x_ts_remove(struct platform_device *pdev)
 static struct platform_driver wm831x_ts_driver = {
        .driver = {
                .name = "wm831x-touch",
-               .owner = THIS_MODULE,
        },
        .probe = wm831x_ts_probe,
        .remove = wm831x_ts_remove,