mirror of
https://github.com/torvalds/linux.git
synced 2024-11-29 07:31:29 +00:00
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>
This commit is contained in:
parent
bb1f110785
commit
3f00302fba
@ -61,7 +61,6 @@ static struct platform_driver ali_ircc_driver = {
|
||||
.resume = ali_ircc_resume,
|
||||
.driver = {
|
||||
.name = ALI_IRCC_DRIVER_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -1114,7 +1114,6 @@ static struct platform_driver sa1100ir_driver = {
|
||||
.resume = sa1100_irda_resume,
|
||||
.driver = {
|
||||
.name = "sa11x0-ir",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user