s390: char: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:32 +0000 (16:21 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:32 +0000 (16:21 +0200)
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>
drivers/s390/char/monwriter.c
drivers/s390/char/sclp.c

index 668b32b0dc1dc39317ebbc682f55bedbc86537c3..9b5d1138b2e2b2218bc15cbe8b0adf873b3a343e 100644 (file)
@@ -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,
        },
 };
index c316051d9bdaa4e8bd24f63e2601f9aa2925c597..41ba56d2e75218f6126ce61cd8c1f1443a5a9ada 100644 (file)
@@ -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,
        },
This page took 0.02832 seconds and 5 git commands to generate.