summaryrefslogtreecommitdiffstats
path: root/drivers/input/misc/sparcspkr.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:40 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:40 +0200
commit776bd315a7721574d7d687dd9abf200735d12a2a (patch)
tree7b8aa62ee3b31d095c703a5e636a27730bf398b5 /drivers/input/misc/sparcspkr.c
parent1d05726c315c146b2ac0c5e94f01fde0c2b73dc1 (diff)
downloadtalos-op-linux-776bd315a7721574d7d687dd9abf200735d12a2a.tar.gz
talos-op-linux-776bd315a7721574d7d687dd9abf200735d12a2a.zip
input: misc: 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 'drivers/input/misc/sparcspkr.c')
-rw-r--r--drivers/input/misc/sparcspkr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/input/misc/sparcspkr.c b/drivers/input/misc/sparcspkr.c
index 179ff1cd6f6b..54116e544c96 100644
--- a/drivers/input/misc/sparcspkr.c
+++ b/drivers/input/misc/sparcspkr.c
@@ -257,7 +257,6 @@ static const struct of_device_id bbc_beep_match[] = {
static struct platform_driver bbc_beep_driver = {
.driver = {
.name = "bbcbeep",
- .owner = THIS_MODULE,
.of_match_table = bbc_beep_match,
},
.probe = bbc_beep_probe,
@@ -337,7 +336,6 @@ static const struct of_device_id grover_beep_match[] = {
static struct platform_driver grover_beep_driver = {
.driver = {
.name = "groverbeep",
- .owner = THIS_MODULE,
.of_match_table = grover_beep_match,
},
.probe = grover_beep_probe,
OpenPOWER on IntegriCloud