mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-27 00:04:47 +08:00
s390: block: 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
0929ae376e
commit
1cd5ad7eef
@ -1003,7 +1003,6 @@ static const struct dev_pm_ops dcssblk_pm_ops = {
|
||||
static struct platform_driver dcssblk_pdrv = {
|
||||
.driver = {
|
||||
.name = "dcssblk",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &dcssblk_pm_ops,
|
||||
},
|
||||
};
|
||||
|
@ -417,7 +417,6 @@ static const struct dev_pm_ops xpram_pm_ops = {
|
||||
static struct platform_driver xpram_pdrv = {
|
||||
.driver = {
|
||||
.name = XPRAM_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &xpram_pm_ops,
|
||||
},
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user