diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:20:15 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:20:15 -0400 |
commit | de720242625c57b406cc178672ad2f281f36130e (patch) | |
tree | c5a3f7548acfa8cf476096f16f22577242881416 /arch/sparc/kernel/pci_psycho.c | |
parent | 1d5f672ea10fbe613b5ace0ebe61126845ae9e41 (diff) |
sparc: kernel: 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 'arch/sparc/kernel/pci_psycho.c')
-rw-r--r-- | arch/sparc/kernel/pci_psycho.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/sparc/kernel/pci_psycho.c b/arch/sparc/kernel/pci_psycho.c index c647634ead2b..7dce27b3c761 100644 --- a/arch/sparc/kernel/pci_psycho.c +++ b/arch/sparc/kernel/pci_psycho.c | |||
@@ -604,7 +604,6 @@ static const struct of_device_id psycho_match[] = { | |||
604 | static struct platform_driver psycho_driver = { | 604 | static struct platform_driver psycho_driver = { |
605 | .driver = { | 605 | .driver = { |
606 | .name = DRIVER_NAME, | 606 | .name = DRIVER_NAME, |
607 | .owner = THIS_MODULE, | ||
608 | .of_match_table = psycho_match, | 607 | .of_match_table = psycho_match, |
609 | }, | 608 | }, |
610 | .probe = psycho_probe, | 609 | .probe = psycho_probe, |