diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:20:18 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:20:18 -0400 |
commit | 8294adb90b4645812ef5f720d5661315b80bd9c7 (patch) | |
tree | ac8cb19b9c70fed6644be83e853bca59e4b51e2c /drivers/block/amiflop.c | |
parent | a9add3339b9ebf0930bd6fb698c5b51e42f48de2 (diff) |
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.c | 1 |
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) | |||
1864 | static struct platform_driver amiga_floppy_driver = { | 1864 | static struct platform_driver amiga_floppy_driver = { |
1865 | .driver = { | 1865 | .driver = { |
1866 | .name = "amiga-floppy", | 1866 | .name = "amiga-floppy", |
1867 | .owner = THIS_MODULE, | ||
1868 | }, | 1867 | }, |
1869 | }; | 1868 | }; |
1870 | 1869 | ||