]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
s390: block: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:31 +0000 (16:21 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:31 +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/block/dcssblk.c
drivers/s390/block/xpram.c

index 0f471750327e5367075f2006f802a0e40653846f..b550c8c8d0103e052689d125e3daacea2f30d993 100644 (file)
@@ -1003,7 +1003,6 @@ static const struct dev_pm_ops dcssblk_pm_ops = {
 static struct platform_driver dcssblk_pdrv = {
        .driver = {
                .name   = "dcssblk",
-               .owner  = THIS_MODULE,
                .pm     = &dcssblk_pm_ops,
        },
 };
index 9e0de9c9a6fc73012e37871b3368d0191f1380f1..7d4e9397ac3172fe48872f7c75444aa37ec44725 100644 (file)
@@ -417,7 +417,6 @@ static const struct dev_pm_ops xpram_pm_ops = {
 static struct platform_driver xpram_pdrv = {
        .driver = {
                .name   = XPRAM_NAME,
-               .owner  = THIS_MODULE,
                .pm     = &xpram_pm_ops,
        },
 };