MIPS: pci: Drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Sun, 21 Dec 2014 21:14:24 +0000 (22:14 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 1 Apr 2015 15:21:55 +0000 (17:21 +0200)
This 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>
Cc: linux-kernel@vger.kernel.org
Cc: Wolfram Sang <wsa@the-dreams.de>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8824/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/pci/pci-ar2315.c
arch/mips/pci/pci-rt2880.c

index bd2b3b60da836369e21a249aeb8f45ea3e9cf101..07a18228e63acf9ec6d86d3ed5abe8fd564c3f02 100644 (file)
@@ -488,7 +488,6 @@ static struct platform_driver ar2315_pci_driver = {
        .probe = ar2315_pci_probe,
        .driver = {
                .name = "ar2315-pci",
-               .owner = THIS_MODULE,
        },
 };
 
index a4574947e698ecd7aac21c366eeb498d4270c1e0..8a978022630b252fa0547dd137805d6b3c35ec3b 100644 (file)
@@ -267,7 +267,6 @@ static struct platform_driver rt288x_pci_driver = {
        .probe = rt288x_pci_probe,
        .driver = {
                .name = "rt288x-pci",
-               .owner = THIS_MODULE,
                .of_match_table = rt288x_pci_match,
        },
 };