aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:15 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:15 -0400
commit3f00302fbaf4a561d89a0c030fab6151b0f233ca (patch)
treed87a286aadfc26e8bf92f66a433c3a0072f3a98f
parentbb1f1107858c1cb3cbb870852f54a0169cb2c360 (diff)
net: irda: 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>
-rw-r--r--drivers/net/irda/ali-ircc.c1
-rw-r--r--drivers/net/irda/au1k_ir.c1
-rw-r--r--drivers/net/irda/pxaficp_ir.c1
-rw-r--r--drivers/net/irda/sa1100_ir.c1
4 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/irda/ali-ircc.c b/drivers/net/irda/ali-ircc.c
index befa45f809c3..9673670b8773 100644
--- a/drivers/net/irda/ali-ircc.c
+++ b/drivers/net/irda/ali-ircc.c
@@ -61,7 +61,6 @@ static struct platform_driver ali_ircc_driver = {
61 .resume = ali_ircc_resume, 61 .resume = ali_ircc_resume,
62 .driver = { 62 .driver = {
63 .name = ALI_IRCC_DRIVER_NAME, 63 .name = ALI_IRCC_DRIVER_NAME,
64 .owner = THIS_MODULE,
65 }, 64 },
66}; 65};
67 66
diff --git a/drivers/net/irda/au1k_ir.c b/drivers/net/irda/au1k_ir.c
index aab2cf72d025..e151205281e2 100644
--- a/drivers/net/irda/au1k_ir.c
+++ b/drivers/net/irda/au1k_ir.c
@@ -989,7 +989,6 @@ static int au1k_irda_remove(struct platform_device *pdev)
989static struct platform_driver au1k_irda_driver = { 989static struct platform_driver au1k_irda_driver = {
990 .driver = { 990 .driver = {
991 .name = "au1000-irda", 991 .name = "au1000-irda",
992 .owner = THIS_MODULE,
993 }, 992 },
994 .probe = au1k_irda_probe, 993 .probe = au1k_irda_probe,
995 .remove = au1k_irda_remove, 994 .remove = au1k_irda_remove,
diff --git a/drivers/net/irda/pxaficp_ir.c b/drivers/net/irda/pxaficp_ir.c
index 3eeaaf800494..100454662e4b 100644
--- a/drivers/net/irda/pxaficp_ir.c
+++ b/drivers/net/irda/pxaficp_ir.c
@@ -966,7 +966,6 @@ static int pxa_irda_remove(struct platform_device *_dev)
966static struct platform_driver pxa_ir_driver = { 966static struct platform_driver pxa_ir_driver = {
967 .driver = { 967 .driver = {
968 .name = "pxa2xx-ir", 968 .name = "pxa2xx-ir",
969 .owner = THIS_MODULE,
970 }, 969 },
971 .probe = pxa_irda_probe, 970 .probe = pxa_irda_probe,
972 .remove = pxa_irda_remove, 971 .remove = pxa_irda_remove,
diff --git a/drivers/net/irda/sa1100_ir.c b/drivers/net/irda/sa1100_ir.c
index 42fde9ed23e1..7b17fa2114e1 100644
--- a/drivers/net/irda/sa1100_ir.c
+++ b/drivers/net/irda/sa1100_ir.c
@@ -1114,7 +1114,6 @@ static struct platform_driver sa1100ir_driver = {
1114 .resume = sa1100_irda_resume, 1114 .resume = sa1100_irda_resume,
1115 .driver = { 1115 .driver = {
1116 .name = "sa11x0-ir", 1116 .name = "sa11x0-ir",
1117 .owner = THIS_MODULE,
1118 }, 1117 },
1119}; 1118};
1120 1119