Commit f3326ec8 authored by Wolfram Sang's avatar Wolfram Sang

s390: char: 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: default avatarWolfram Sang <wsa@the-dreams.de>
parent 1cd5ad7e
...@@ -334,7 +334,6 @@ static const struct dev_pm_ops monwriter_pm_ops = { ...@@ -334,7 +334,6 @@ static const struct dev_pm_ops monwriter_pm_ops = {
static struct platform_driver monwriter_pdrv = { static struct platform_driver monwriter_pdrv = {
.driver = { .driver = {
.name = "monwriter", .name = "monwriter",
.owner = THIS_MODULE,
.pm = &monwriter_pm_ops, .pm = &monwriter_pm_ops,
}, },
}; };
......
...@@ -1167,7 +1167,6 @@ static const struct attribute_group *sclp_drv_attr_groups[] = { ...@@ -1167,7 +1167,6 @@ static const struct attribute_group *sclp_drv_attr_groups[] = {
static struct platform_driver sclp_pdrv = { static struct platform_driver sclp_pdrv = {
.driver = { .driver = {
.name = "sclp", .name = "sclp",
.owner = THIS_MODULE,
.pm = &sclp_pm_ops, .pm = &sclp_pm_ops,
.groups = sclp_drv_attr_groups, .groups = sclp_drv_attr_groups,
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment