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>
This commit is contained in:

zatwierdzone przez
Dmitry Torokhov

rodzic
19eb4ed114
commit
9f1d1ea3e0
@@ -30,11 +30,10 @@
|
||||
|
||||
#define DRIVER_AUTHOR "Xing Wei <weixing@hanwang.com.cn>"
|
||||
#define DRIVER_DESC "USB Hanwang 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_HANWANG 0x0b57
|
||||
#define HANWANG_TABLET_INT_CLASS 0x0003
|
||||
|
Reference in New Issue
Block a user