diff options
author | Grant Grundler <grundler@chromium.org> | 2017-01-05 20:07:04 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2017-01-06 14:32:14 +0100 |
commit | 7021b60073f8059e1ec8aa140eb5fdfc017d0041 (patch) | |
tree | 9d5a3069a86175d66d02fc310552a04c1bd350d0 /drivers/hid/usbhid/usbkbd.c | |
parent | HID: intel-ish-hid: Remove unneeded linux/miscdevice.h include (diff) | |
download | linux-7021b60073f8059e1ec8aa140eb5fdfc017d0041.tar.xz linux-7021b60073f8059e1ec8aa140eb5fdfc017d0041.zip |
HID: remove use of DRIVER_LICENSE
Local "#define DRIVER_LICENSE" obfuscates which license is used
in MODULE_LICENSE(). "fgrep -R MODULE_LICENSE" is more informative
when the string is hard coded in MODULE_LICENSE.
Signed-off-by: Grant Grundler <grundler@google.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/usbhid/usbkbd.c')
-rw-r--r-- | drivers/hid/usbhid/usbkbd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/hid/usbhid/usbkbd.c b/drivers/hid/usbhid/usbkbd.c index 9a332e683db7..7fb2d1e4f5dd 100644 --- a/drivers/hid/usbhid/usbkbd.c +++ b/drivers/hid/usbhid/usbkbd.c @@ -39,11 +39,10 @@ #define DRIVER_VERSION "" #define DRIVER_AUTHOR "Vojtech Pavlik <vojtech@ucw.cz>" #define DRIVER_DESC "USB HID Boot Protocol keyboard driver" -#define DRIVER_LICENSE "GPL" MODULE_AUTHOR(DRIVER_AUTHOR); MODULE_DESCRIPTION(DRIVER_DESC); -MODULE_LICENSE(DRIVER_LICENSE); +MODULE_LICENSE("GPL"); static const unsigned char usb_kbd_keycode[256] = { 0, 0, 0, 0, 30, 48, 46, 32, 18, 33, 34, 35, 23, 36, 37, 38, |