aboutsummaryrefslogtreecommitdiffstats
path: root/0005-Input-misc-remove-unneeded-MODULE_VERSION-usage.patch
diff options
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-02-02 09:15:54 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-02-02 09:15:54 +0100
commit1e6dee595b117b29c8b893c7fda96c1b97309c01 (patch)
tree93d0b7d82c703c3ae76ef44b9c843721ef0621bd /0005-Input-misc-remove-unneeded-MODULE_VERSION-usage.patch
parent991c39a78adc0e79ca539fe9f32bfd1569866cbb (diff)
downloadpatches-1e6dee595b117b29c8b893c7fda96c1b97309c01.tar.gz
drop patches that are now upstream.
Diffstat (limited to '0005-Input-misc-remove-unneeded-MODULE_VERSION-usage.patch')
-rw-r--r--0005-Input-misc-remove-unneeded-MODULE_VERSION-usage.patch56
1 files changed, 0 insertions, 56 deletions
diff --git a/0005-Input-misc-remove-unneeded-MODULE_VERSION-usage.patch b/0005-Input-misc-remove-unneeded-MODULE_VERSION-usage.patch
deleted file mode 100644
index d506a13a31e568..00000000000000
--- a/0005-Input-misc-remove-unneeded-MODULE_VERSION-usage.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-From 4e41f2f810772a815ca3c0bc62535f047379081e Mon Sep 17 00:00:00 2001
-From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-Date: Wed, 22 Nov 2017 18:37:30 +0100
-Subject: [PATCH 5/6] Input: misc: remove unneeded MODULE_VERSION() usage
-
-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.
-
-Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
-Cc: Ville Syrjala <syrjala@sci.fi>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- drivers/input/misc/apanel.c | 2 --
- drivers/input/misc/ati_remote2.c | 2 --
- drivers/input/misc/uinput.c | 1 -
- 3 files changed, 5 deletions(-)
-
---- a/drivers/input/misc/apanel.c
-+++ b/drivers/input/misc/apanel.c
-@@ -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:*");
---- a/drivers/input/misc/ati_remote2.c
-+++ b/drivers/input/misc/ati_remote2.c
-@@ -14,10 +14,8 @@
- #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");
-
---- a/drivers/input/misc/uinput.c
-+++ b/drivers/input/misc/uinput.c
-@@ -1085,4 +1085,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");