diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:20:15 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:20:15 +0200 |
commit | de720242625c57b406cc178672ad2f281f36130e (patch) | |
tree | c5a3f7548acfa8cf476096f16f22577242881416 /arch/sparc/kernel/leon_pci_grpci2.c | |
parent | 1d5f672ea10fbe613b5ace0ebe61126845ae9e41 (diff) | |
download | lwn-de720242625c57b406cc178672ad2f281f36130e.tar.gz lwn-de720242625c57b406cc178672ad2f281f36130e.zip |
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/leon_pci_grpci2.c')
-rw-r--r-- | arch/sparc/kernel/leon_pci_grpci2.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/sparc/kernel/leon_pci_grpci2.c b/arch/sparc/kernel/leon_pci_grpci2.c index e433a4d69fe0..94e392bdee7d 100644 --- a/arch/sparc/kernel/leon_pci_grpci2.c +++ b/arch/sparc/kernel/leon_pci_grpci2.c @@ -900,7 +900,6 @@ static struct of_device_id grpci2_of_match[] = { static struct platform_driver grpci2_of_driver = { .driver = { .name = "grpci2", - .owner = THIS_MODULE, .of_match_table = grpci2_of_match, }, .probe = grpci2_of_probe, |