mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-24 04:34:08 +08:00
hwspinlock: 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
2a1ed07718
commit
a7629c70d0
@ -179,7 +179,6 @@ static struct platform_driver omap_hwspinlock_driver = {
|
||||
.remove = omap_hwspinlock_remove,
|
||||
.driver = {
|
||||
.name = "omap_hwspinlock",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -175,7 +175,6 @@ static struct platform_driver u8500_hsem_driver = {
|
||||
.remove = u8500_hsem_remove,
|
||||
.driver = {
|
||||
.name = "u8500_hsem",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user