提交 1cd5ad7e 编写于 作者: W Wolfram Sang

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: NWolfram Sang <wsa@the-dreams.de>
上级 0929ae37
...@@ -1003,7 +1003,6 @@ static const struct dev_pm_ops dcssblk_pm_ops = { ...@@ -1003,7 +1003,6 @@ static const struct dev_pm_ops dcssblk_pm_ops = {
static struct platform_driver dcssblk_pdrv = { static struct platform_driver dcssblk_pdrv = {
.driver = { .driver = {
.name = "dcssblk", .name = "dcssblk",
.owner = THIS_MODULE,
.pm = &dcssblk_pm_ops, .pm = &dcssblk_pm_ops,
}, },
}; };
......
...@@ -417,7 +417,6 @@ static const struct dev_pm_ops xpram_pm_ops = { ...@@ -417,7 +417,6 @@ static const struct dev_pm_ops xpram_pm_ops = {
static struct platform_driver xpram_pdrv = { static struct platform_driver xpram_pdrv = {
.driver = { .driver = {
.name = XPRAM_NAME, .name = XPRAM_NAME,
.owner = THIS_MODULE,
.pm = &xpram_pm_ops, .pm = &xpram_pm_ops,
}, },
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册