aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/misc/rotary_encoder.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/rotary_encoder.c
parentinput: keyboard: drop owner assignment from platform_drivers (diff)
downloadlinux-dev-776bd315a7721574d7d687dd9abf200735d12a2a.tar.xz
linux-dev-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/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),
}
};