mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-28 20:37:27 +00:00
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: Wolfram Sang <wsa@the-dreams.de>
This commit is contained in:
parent
1cd5ad7eef
commit
f3326ec8a4
@ -334,7 +334,6 @@ static const struct dev_pm_ops monwriter_pm_ops = {
|
||||
static struct platform_driver monwriter_pdrv = {
|
||||
.driver = {
|
||||
.name = "monwriter",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &monwriter_pm_ops,
|
||||
},
|
||||
};
|
||||
|
@ -1167,7 +1167,6 @@ static const struct attribute_group *sclp_drv_attr_groups[] = {
|
||||
static struct platform_driver sclp_pdrv = {
|
||||
.driver = {
|
||||
.name = "sclp",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &sclp_pm_ops,
|
||||
.groups = sclp_drv_attr_groups,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user