summaryrefslogtreecommitdiff
path: root/drivers/block/amiflop.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/amiflop.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/amiflop.c')
-rw-r--r--drivers/block/amiflop.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/block/amiflop.c b/drivers/block/amiflop.c
index 758da2287d9a..5fd50a284168 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,
},
};