diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:32 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:32 -0400 |
commit | f3326ec8a426c73a26dfcd374a463ea2b0f66b52 (patch) | |
tree | daead7ed3897e27830cb86f4ebc698c2deb65689 /drivers/s390 | |
parent | 1cd5ad7eefbcec1f1eba5d4be80385ce1a827f21 (diff) |
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>
Diffstat (limited to 'drivers/s390')
-rw-r--r-- | drivers/s390/char/monwriter.c | 1 | ||||
-rw-r--r-- | drivers/s390/char/sclp.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/s390/char/monwriter.c b/drivers/s390/char/monwriter.c index 668b32b0dc1d..9b5d1138b2e2 100644 --- a/drivers/s390/char/monwriter.c +++ b/drivers/s390/char/monwriter.c | |||
@@ -334,7 +334,6 @@ static const struct dev_pm_ops monwriter_pm_ops = { | |||
334 | static struct platform_driver monwriter_pdrv = { | 334 | static struct platform_driver monwriter_pdrv = { |
335 | .driver = { | 335 | .driver = { |
336 | .name = "monwriter", | 336 | .name = "monwriter", |
337 | .owner = THIS_MODULE, | ||
338 | .pm = &monwriter_pm_ops, | 337 | .pm = &monwriter_pm_ops, |
339 | }, | 338 | }, |
340 | }; | 339 | }; |
diff --git a/drivers/s390/char/sclp.c b/drivers/s390/char/sclp.c index c316051d9bda..41ba56d2e752 100644 --- a/drivers/s390/char/sclp.c +++ b/drivers/s390/char/sclp.c | |||
@@ -1167,7 +1167,6 @@ static const struct attribute_group *sclp_drv_attr_groups[] = { | |||
1167 | static struct platform_driver sclp_pdrv = { | 1167 | static struct platform_driver sclp_pdrv = { |
1168 | .driver = { | 1168 | .driver = { |
1169 | .name = "sclp", | 1169 | .name = "sclp", |
1170 | .owner = THIS_MODULE, | ||
1171 | .pm = &sclp_pm_ops, | 1170 | .pm = &sclp_pm_ops, |
1172 | .groups = sclp_drv_attr_groups, | 1171 | .groups = sclp_drv_attr_groups, |
1173 | }, | 1172 | }, |