aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-12-21 16:14:24 -0500
committerRalf Baechle <ralf@linux-mips.org>2015-04-01 11:21:55 -0400
commit02e47ca9bceb4f20c7e321590e17f1fb1e0cdf9b (patch)
tree3bc9fe95f6c05228e670703224ca99b632c811f7
parent1e294287bb5baec9a0173aff91df16e7eb68de09 (diff)
MIPS: pci: Drop owner assignment from platform_drivers
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>
-rw-r--r--arch/mips/pci/pci-ar2315.c1
-rw-r--r--arch/mips/pci/pci-rt2880.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/arch/mips/pci/pci-ar2315.c b/arch/mips/pci/pci-ar2315.c
index bd2b3b60da83..07a18228e63a 100644
--- a/arch/mips/pci/pci-ar2315.c
+++ b/arch/mips/pci/pci-ar2315.c
@@ -488,7 +488,6 @@ static struct platform_driver ar2315_pci_driver = {
488 .probe = ar2315_pci_probe, 488 .probe = ar2315_pci_probe,
489 .driver = { 489 .driver = {
490 .name = "ar2315-pci", 490 .name = "ar2315-pci",
491 .owner = THIS_MODULE,
492 }, 491 },
493}; 492};
494 493
diff --git a/arch/mips/pci/pci-rt2880.c b/arch/mips/pci/pci-rt2880.c
index a4574947e698..8a978022630b 100644
--- a/arch/mips/pci/pci-rt2880.c
+++ b/arch/mips/pci/pci-rt2880.c
@@ -267,7 +267,6 @@ static struct platform_driver rt288x_pci_driver = {
267 .probe = rt288x_pci_probe, 267 .probe = rt288x_pci_probe,
268 .driver = { 268 .driver = {
269 .name = "rt288x-pci", 269 .name = "rt288x-pci",
270 .owner = THIS_MODULE,
271 .of_match_table = rt288x_pci_match, 270 .of_match_table = rt288x_pci_match,
272 }, 271 },
273}; 272};