summaryrefslogtreecommitdiff
path: root/drivers/input/misc/rotary_encoder.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 18:20:40 +0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 18:20:40 +0400
commit776bd315a7721574d7d687dd9abf200735d12a2a (patch)
tree7b8aa62ee3b31d095c703a5e636a27730bf398b5 /drivers/input/misc/rotary_encoder.c
parent1d05726c315c146b2ac0c5e94f01fde0c2b73dc1 (diff)
downloadlinux-776bd315a7721574d7d687dd9abf200735d12a2a.tar.xz
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/rotary_encoder.c')
-rw-r--r--drivers/input/misc/rotary_encoder.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/misc/rotary_encoder.c b/drivers/input/misc/rotary_encoder.c
index 93558a1c7f70..f27f81ee84ed 100644
--- a/drivers/input/misc/rotary_encoder.c
+++ b/drivers/input/misc/rotary_encoder.c
@@ -325,7 +325,6 @@ static struct platform_driver rotary_encoder_driver = {
.remove = rotary_encoder_remove,
.driver = {
.name = DRV_NAME,
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(rotary_encoder_of_match),
}
};