net: irda: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:15 +0000 (16:21 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:15 +0000 (16:21 +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/net/irda/ali-ircc.c
drivers/net/irda/au1k_ir.c
drivers/net/irda/pxaficp_ir.c
drivers/net/irda/sa1100_ir.c

index befa45f809c32976470d2a9f072a5580a578f791..9673670b877380e25ba2410cb7badd5349074247 100644 (file)
@@ -61,7 +61,6 @@ static struct platform_driver ali_ircc_driver = {
        .resume         = ali_ircc_resume,
        .driver         = {
                .name   = ALI_IRCC_DRIVER_NAME,
-               .owner  = THIS_MODULE,
        },
 };
 
index aab2cf72d025fa25ed0b551069dc80c640996919..e151205281e21369c7b897d966d2b6b2606b6f74 100644 (file)
@@ -989,7 +989,6 @@ static int au1k_irda_remove(struct platform_device *pdev)
 static struct platform_driver au1k_irda_driver = {
        .driver = {
                .name   = "au1000-irda",
-               .owner  = THIS_MODULE,
        },
        .probe          = au1k_irda_probe,
        .remove         = au1k_irda_remove,
index 3eeaaf8004949f28f5a1aead38665a56bedc557e..100454662e4b36b4d7cad113bdd81cc538cb7304 100644 (file)
@@ -966,7 +966,6 @@ static int pxa_irda_remove(struct platform_device *_dev)
 static struct platform_driver pxa_ir_driver = {
        .driver         = {
                .name   = "pxa2xx-ir",
-               .owner  = THIS_MODULE,
        },
        .probe          = pxa_irda_probe,
        .remove         = pxa_irda_remove,
index 42fde9ed23e153fbb8f7e3295fca7e81da23a626..7b17fa2114e1398d56b477fb9b1da1f4c4b76d6f 100644 (file)
@@ -1114,7 +1114,6 @@ static struct platform_driver sa1100ir_driver = {
        .resume         = sa1100_irda_resume,
        .driver         = {
                .name   = "sa11x0-ir",
-               .owner  = THIS_MODULE,
        },
 };
 
This page took 0.029756 seconds and 5 git commands to generate.