summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/pmc.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:15 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:15 +0200
commitde720242625c57b406cc178672ad2f281f36130e (patch)
treec5a3f7548acfa8cf476096f16f22577242881416 /arch/sparc/kernel/pmc.c
parent1d5f672ea10fbe613b5ace0ebe61126845ae9e41 (diff)
downloadop-kernel-dev-de720242625c57b406cc178672ad2f281f36130e.zip
op-kernel-dev-de720242625c57b406cc178672ad2f281f36130e.tar.gz
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/pmc.c')
-rw-r--r--arch/sparc/kernel/pmc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/sparc/kernel/pmc.c b/arch/sparc/kernel/pmc.c
index 8b7297f..97d1231 100644
--- a/arch/sparc/kernel/pmc.c
+++ b/arch/sparc/kernel/pmc.c
@@ -82,7 +82,6 @@ MODULE_DEVICE_TABLE(of, pmc_match);
static struct platform_driver pmc_driver = {
.driver = {
.name = "pmc",
- .owner = THIS_MODULE,
.of_match_table = pmc_match,
},
.probe = pmc_probe,
OpenPOWER on IntegriCloud