diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-01-16 19:43:52 -0500 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2018-01-16 19:48:24 -0500 |
commit | 141fc3fcfde3ea2b2ec71c037e8d11c1cdea1676 (patch) | |
tree | 71f780e47cfb77f3293c69547395bb621cbc8604 /drivers/input/misc | |
parent | 4f7fc9b561eab242152f928ff6be1d03e7259e84 (diff) |
Input: remove unneeded MODULE_VERSION() usage in misc input drivers
MODULE_VERSION is useless for in-kernel drivers, so just remove all
usage of it in the misc input drivers. Along with this, some
DRIVER_VERSION macros were removed as they are also pointless.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/misc')
-rw-r--r-- | drivers/input/misc/apanel.c | 2 | ||||
-rw-r--r-- | drivers/input/misc/ati_remote2.c | 2 | ||||
-rw-r--r-- | drivers/input/misc/uinput.c | 1 |
3 files changed, 0 insertions, 5 deletions
diff --git a/drivers/input/misc/apanel.c b/drivers/input/misc/apanel.c index aad1df04c854..094bddf56755 100644 --- a/drivers/input/misc/apanel.c +++ b/drivers/input/misc/apanel.c | |||
@@ -26,7 +26,6 @@ | |||
26 | #include <linux/leds.h> | 26 | #include <linux/leds.h> |
27 | 27 | ||
28 | #define APANEL_NAME "Fujitsu Application Panel" | 28 | #define APANEL_NAME "Fujitsu Application Panel" |
29 | #define APANEL_VERSION "1.3.1" | ||
30 | #define APANEL "apanel" | 29 | #define APANEL "apanel" |
31 | 30 | ||
32 | /* How often we poll keys - msecs */ | 31 | /* How often we poll keys - msecs */ |
@@ -345,7 +344,6 @@ module_exit(apanel_cleanup); | |||
345 | MODULE_AUTHOR("Stephen Hemminger <shemminger@linux-foundation.org>"); | 344 | MODULE_AUTHOR("Stephen Hemminger <shemminger@linux-foundation.org>"); |
346 | MODULE_DESCRIPTION(APANEL_NAME " driver"); | 345 | MODULE_DESCRIPTION(APANEL_NAME " driver"); |
347 | MODULE_LICENSE("GPL"); | 346 | MODULE_LICENSE("GPL"); |
348 | MODULE_VERSION(APANEL_VERSION); | ||
349 | 347 | ||
350 | MODULE_ALIAS("dmi:*:svnFUJITSU:pnLifeBook*:pvr*:rvnFUJITSU:*"); | 348 | MODULE_ALIAS("dmi:*:svnFUJITSU:pnLifeBook*:pvr*:rvnFUJITSU:*"); |
351 | MODULE_ALIAS("dmi:*:svnFUJITSU:pnLifebook*:pvr*:rvnFUJITSU:*"); | 349 | MODULE_ALIAS("dmi:*:svnFUJITSU:pnLifebook*:pvr*:rvnFUJITSU:*"); |
diff --git a/drivers/input/misc/ati_remote2.c b/drivers/input/misc/ati_remote2.c index ebf4448b31b9..ded5b84e336d 100644 --- a/drivers/input/misc/ati_remote2.c +++ b/drivers/input/misc/ati_remote2.c | |||
@@ -14,10 +14,8 @@ | |||
14 | #include <linux/module.h> | 14 | #include <linux/module.h> |
15 | 15 | ||
16 | #define DRIVER_DESC "ATI/Philips USB RF remote driver" | 16 | #define DRIVER_DESC "ATI/Philips USB RF remote driver" |
17 | #define DRIVER_VERSION "0.3" | ||
18 | 17 | ||
19 | MODULE_DESCRIPTION(DRIVER_DESC); | 18 | MODULE_DESCRIPTION(DRIVER_DESC); |
20 | MODULE_VERSION(DRIVER_VERSION); | ||
21 | MODULE_AUTHOR("Ville Syrjala <syrjala@sci.fi>"); | 19 | MODULE_AUTHOR("Ville Syrjala <syrjala@sci.fi>"); |
22 | MODULE_LICENSE("GPL"); | 20 | MODULE_LICENSE("GPL"); |
23 | 21 | ||
diff --git a/drivers/input/misc/uinput.c b/drivers/input/misc/uinput.c index cb4bdbd3e9e2..a94c5e05006b 100644 --- a/drivers/input/misc/uinput.c +++ b/drivers/input/misc/uinput.c | |||
@@ -1088,4 +1088,3 @@ MODULE_ALIAS("devname:" UINPUT_NAME); | |||
1088 | MODULE_AUTHOR("Aristeu Sergio Rozanski Filho"); | 1088 | MODULE_AUTHOR("Aristeu Sergio Rozanski Filho"); |
1089 | MODULE_DESCRIPTION("User level driver support for input subsystem"); | 1089 | MODULE_DESCRIPTION("User level driver support for input subsystem"); |
1090 | MODULE_LICENSE("GPL"); | 1090 | MODULE_LICENSE("GPL"); |
1091 | MODULE_VERSION("0.3"); | ||