Commit 3f00302f authored by Wolfram Sang's avatar Wolfram Sang

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: default avatarWolfram Sang <wsa@the-dreams.de>
parent bb1f1107
...@@ -61,7 +61,6 @@ static struct platform_driver ali_ircc_driver = { ...@@ -61,7 +61,6 @@ static struct platform_driver ali_ircc_driver = {
.resume = ali_ircc_resume, .resume = ali_ircc_resume,
.driver = { .driver = {
.name = ALI_IRCC_DRIVER_NAME, .name = ALI_IRCC_DRIVER_NAME,
.owner = THIS_MODULE,
}, },
}; };
......
...@@ -989,7 +989,6 @@ static int au1k_irda_remove(struct platform_device *pdev) ...@@ -989,7 +989,6 @@ static int au1k_irda_remove(struct platform_device *pdev)
static struct platform_driver au1k_irda_driver = { static struct platform_driver au1k_irda_driver = {
.driver = { .driver = {
.name = "au1000-irda", .name = "au1000-irda",
.owner = THIS_MODULE,
}, },
.probe = au1k_irda_probe, .probe = au1k_irda_probe,
.remove = au1k_irda_remove, .remove = au1k_irda_remove,
......
...@@ -966,7 +966,6 @@ static int pxa_irda_remove(struct platform_device *_dev) ...@@ -966,7 +966,6 @@ static int pxa_irda_remove(struct platform_device *_dev)
static struct platform_driver pxa_ir_driver = { static struct platform_driver pxa_ir_driver = {
.driver = { .driver = {
.name = "pxa2xx-ir", .name = "pxa2xx-ir",
.owner = THIS_MODULE,
}, },
.probe = pxa_irda_probe, .probe = pxa_irda_probe,
.remove = pxa_irda_remove, .remove = pxa_irda_remove,
......
...@@ -1114,7 +1114,6 @@ static struct platform_driver sa1100ir_driver = { ...@@ -1114,7 +1114,6 @@ static struct platform_driver sa1100ir_driver = {
.resume = sa1100_irda_resume, .resume = sa1100_irda_resume,
.driver = { .driver = {
.name = "sa11x0-ir", .name = "sa11x0-ir",
.owner = THIS_MODULE,
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment