mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
ARM: mach-pxa: 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
ea18faf9f6
commit
a961f40ee1
2 changed files with 0 additions and 2 deletions
|
@ -379,7 +379,6 @@ static int pxa3xx_u2d_remove(struct platform_device *pdev)
|
||||||
static struct platform_driver pxa3xx_u2d_ulpi_driver = {
|
static struct platform_driver pxa3xx_u2d_ulpi_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "pxa3xx-u2d",
|
.name = "pxa3xx-u2d",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
.probe = pxa3xx_u2d_probe,
|
.probe = pxa3xx_u2d_probe,
|
||||||
.remove = pxa3xx_u2d_remove,
|
.remove = pxa3xx_u2d_remove,
|
||||||
|
|
|
@ -129,7 +129,6 @@ static struct platform_driver tosa_bt_driver = {
|
||||||
|
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "tosa-bt",
|
.name = "tosa-bt",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue