Input: remove unneeded MODULE_VERSION() usage in misc input drivers
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Jan 2018 00:43:52 +0000 (16:43 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 17 Jan 2018 00:48:24 +0000 (16:48 -0800)
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>
drivers/input/misc/apanel.c
drivers/input/misc/ati_remote2.c
drivers/input/misc/uinput.c

index aad1df04c85476f93014532e8f8778b34245ca8a..094bddf56755f11310ee18c6eb5fda33242f57ff 100644 (file)
@@ -26,7 +26,6 @@
 #include <linux/leds.h>
 
 #define APANEL_NAME    "Fujitsu Application Panel"
-#define APANEL_VERSION "1.3.1"
 #define APANEL         "apanel"
 
 /* How often we poll keys - msecs */
@@ -345,7 +344,6 @@ module_exit(apanel_cleanup);
 MODULE_AUTHOR("Stephen Hemminger <shemminger@linux-foundation.org>");
 MODULE_DESCRIPTION(APANEL_NAME " driver");
 MODULE_LICENSE("GPL");
-MODULE_VERSION(APANEL_VERSION);
 
 MODULE_ALIAS("dmi:*:svnFUJITSU:pnLifeBook*:pvr*:rvnFUJITSU:*");
 MODULE_ALIAS("dmi:*:svnFUJITSU:pnLifebook*:pvr*:rvnFUJITSU:*");
index ebf4448b31b90c1338e545acc6c3dc1c917126d1..ded5b84e336dae67d885af602a49eef547bff744 100644 (file)
 #include <linux/module.h>
 
 #define DRIVER_DESC    "ATI/Philips USB RF remote driver"
-#define DRIVER_VERSION "0.3"
 
 MODULE_DESCRIPTION(DRIVER_DESC);
-MODULE_VERSION(DRIVER_VERSION);
 MODULE_AUTHOR("Ville Syrjala <syrjala@sci.fi>");
 MODULE_LICENSE("GPL");
 
index cb4bdbd3e9e29c7d2596a66c211631a063ac5248..a94c5e05006b082f49376c1e42bffabae6dda5a0 100644 (file)
@@ -1088,4 +1088,3 @@ MODULE_ALIAS("devname:" UINPUT_NAME);
 MODULE_AUTHOR("Aristeu Sergio Rozanski Filho");
 MODULE_DESCRIPTION("User level driver support for input subsystem");
 MODULE_LICENSE("GPL");
-MODULE_VERSION("0.3");