]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
misc: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:54 +0000 (16:20 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:20:54 +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>
drivers/misc/arm-charlcd.c
drivers/misc/atmel-ssc.c
drivers/misc/cs5535-mfgpt.c

index c72e96b523eda0e540a2968e9b376edfb36d5367..c65b5ea5d5ef44c90713bae61e9a0c461e3be93e 100644 (file)
@@ -375,7 +375,6 @@ static const struct of_device_id charlcd_match[] = {
 static struct platform_driver charlcd_driver = {
        .driver = {
                .name = DRIVERNAME,
-               .owner = THIS_MODULE,
                .pm = &charlcd_pm_ops,
                .of_match_table = of_match_ptr(charlcd_match),
        },
index 60843a275abd2072e6a6a95a10cd1a739d5d5695..5305ac8dfb3ef884a4687b6312b824717d9046e8 100644 (file)
@@ -220,7 +220,6 @@ static int ssc_remove(struct platform_device *pdev)
 static struct platform_driver ssc_driver = {
        .driver         = {
                .name           = "ssc",
-               .owner          = THIS_MODULE,
                .of_match_table = of_match_ptr(atmel_ssc_dt_ids),
        },
        .id_table       = atmel_ssc_devtypes,
index effd8c6b2b9414bfb754bc3e805f7bd398ae1faa..347f08f2fd480a2237959752be29089edf2f1d48 100644 (file)
@@ -365,7 +365,6 @@ done:
 static struct platform_driver cs5535_mfgpt_driver = {
        .driver = {
                .name = DRV_NAME,
-               .owner = THIS_MODULE,
        },
        .probe = cs5535_mfgpt_probe,
 };