summaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:18 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:18 +0200
commit8294adb90b4645812ef5f720d5661315b80bd9c7 (patch)
treeac8cb19b9c70fed6644be83e853bca59e4b51e2c /drivers/block
parenta9add3339b9ebf0930bd6fb698c5b51e42f48de2 (diff)
downloadop-kernel-dev-8294adb90b4645812ef5f720d5661315b80bd9c7.zip
op-kernel-dev-8294adb90b4645812ef5f720d5661315b80bd9c7.tar.gz
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')
-rw-r--r--drivers/block/amiflop.c1
-rw-r--r--drivers/block/mg_disk.c1
-rw-r--r--drivers/block/swim.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/drivers/block/amiflop.c b/drivers/block/amiflop.c
index 758da22..5fd50a2 100644
--- a/drivers/block/amiflop.c
+++ b/drivers/block/amiflop.c
@@ -1864,7 +1864,6 @@ static int __exit amiga_floppy_remove(struct platform_device *pdev)
static struct platform_driver amiga_floppy_driver = {
.driver = {
.name = "amiga-floppy",
- .owner = THIS_MODULE,
},
};
diff --git a/drivers/block/mg_disk.c b/drivers/block/mg_disk.c
index e352cac..145ce2a 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,
}
};
diff --git a/drivers/block/swim.c b/drivers/block/swim.c
index 6b44bbe..b5afd49 100644
--- a/drivers/block/swim.c
+++ b/drivers/block/swim.c
@@ -971,7 +971,6 @@ static struct platform_driver swim_driver = {
.remove = swim_remove,
.driver = {
.name = CARDNAME,
- .owner = THIS_MODULE,
},
};
OpenPOWER on IntegriCloud