Input: remove unneeded DRIVER_LICENSE #defines
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Jan 2018 00:36:48 +0000 (16:36 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 17 Jan 2018 00:47:33 +0000 (16:47 -0800)
commit9f1d1ea3e06aa4f0b88d724cee890973f8f8727b
tree660181201d5300468846619fe196c61daf1af096
parent19eb4ed1141bd1096b9bc84ba9c4d03d5830c143
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>
drivers/input/misc/keyspan_remote.c
drivers/input/tablet/acecad.c
drivers/input/tablet/hanwang.c
drivers/input/tablet/kbtab.c