summaryrefslogtreecommitdiff
path: root/drivers/block/mg_disk.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 18:20:18 +0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 18:20:18 +0400
commit8294adb90b4645812ef5f720d5661315b80bd9c7 (patch)
treeac8cb19b9c70fed6644be83e853bca59e4b51e2c /drivers/block/mg_disk.c
parenta9add3339b9ebf0930bd6fb698c5b51e42f48de2 (diff)
downloadlinux-8294adb90b4645812ef5f720d5661315b80bd9c7.tar.xz
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/block/mg_disk.c')
-rw-r--r--drivers/block/mg_disk.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/block/mg_disk.c b/drivers/block/mg_disk.c
index e352cac707e8..145ce2aa2e78 100644
--- a/drivers/block/mg_disk.c
+++ b/drivers/block/mg_disk.c
@@ -1082,7 +1082,6 @@ static struct platform_driver mg_disk_driver = {
.remove = mg_remove,
.driver = {
.name = MG_DEV_NAME,
- .owner = THIS_MODULE,
.pm = &mg_pm,
}
};