summaryrefslogtreecommitdiffstats
path: root/drivers/input/tablet/kbtab.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman2018-01-17 01:36:48 +0100
committerDmitry Torokhov2018-01-17 01:47:33 +0100
commit9f1d1ea3e06aa4f0b88d724cee890973f8f8727b (patch)
tree660181201d5300468846619fe196c61daf1af096 /drivers/input/tablet/kbtab.c
parentInput: synaptics - reset the ABS_X/Y fuzz after initializing MT axes (diff)
downloadkernel-qcow2-linux-9f1d1ea3e06aa4f0b88d724cee890973f8f8727b.tar.gz
kernel-qcow2-linux-9f1d1ea3e06aa4f0b88d724cee890973f8f8727b.tar.xz
kernel-qcow2-linux-9f1d1ea3e06aa4f0b88d724cee890973f8f8727b.zip
Input: remove unneeded DRIVER_LICENSE #defines
There is no need to #define the license of the driver, just put it in the MODULE_LICENSE() line directly as a text string. This allows tools that check that the module license matches the source code license to work properly, as there is no need to unwind the unneeded dereference. For some of these drivers, the #define is just a few lines above the MODULE_LICENSE() line, which is extra pointless. Reported-by: Philippe Ombredanne <pombredanne@nexb.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Reviewed-by: Philippe Ombredanne <pombredanne@nexb.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/tablet/kbtab.c')
-rw-r--r--drivers/input/tablet/kbtab.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/input/tablet/kbtab.c b/drivers/input/tablet/kbtab.c
index a41c3ff7c9af..bee18e33e261 100644
--- a/drivers/input/tablet/kbtab.c
+++ b/drivers/input/tablet/kbtab.c
@@ -15,11 +15,10 @@
#define DRIVER_VERSION "v0.0.2"
#define DRIVER_AUTHOR "Josh Myer <josh@joshisanerd.com>"
#define DRIVER_DESC "USB KB Gear JamStudio Tablet driver"
-#define DRIVER_LICENSE "GPL"
MODULE_AUTHOR(DRIVER_AUTHOR);
MODULE_DESCRIPTION(DRIVER_DESC);
-MODULE_LICENSE(DRIVER_LICENSE);
+MODULE_LICENSE("GPL");
#define USB_VENDOR_ID_KBGEAR 0x084e