diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:21:31 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:21:31 +0200 |
commit | 1cd5ad7eefbcec1f1eba5d4be80385ce1a827f21 (patch) | |
tree | 7dda59fd0a525ec9dc81fc84611d54a85481dc81 /drivers | |
parent | 0929ae376ef32591a5f13870a703efc2901bfab9 (diff) | |
download | op-kernel-dev-1cd5ad7eefbcec1f1eba5d4be80385ce1a827f21.zip op-kernel-dev-1cd5ad7eefbcec1f1eba5d4be80385ce1a827f21.tar.gz |
s390: block: 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')
-rw-r--r-- | drivers/s390/block/dcssblk.c | 1 | ||||
-rw-r--r-- | drivers/s390/block/xpram.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/s390/block/dcssblk.c b/drivers/s390/block/dcssblk.c index 0f47175..b550c8c 100644 --- a/drivers/s390/block/dcssblk.c +++ b/drivers/s390/block/dcssblk.c @@ -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, }, }; diff --git a/drivers/s390/block/xpram.c b/drivers/s390/block/xpram.c index 9e0de9c..7d4e939 100644 --- a/drivers/s390/block/xpram.c +++ b/drivers/s390/block/xpram.c @@ -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, }, }; |