summaryrefslogtreecommitdiff
path: root/drivers/hid/usbhid/usbmouse.c
diff options
context:
space:
mode:
authorGrant Grundler <grundler@chromium.org>2017-01-05 11:07:04 -0800
committerJiri Kosina <jkosina@suse.cz>2017-01-06 14:32:14 +0100
commit7021b60073f8059e1ec8aa140eb5fdfc017d0041 (patch)
tree9d5a3069a86175d66d02fc310552a04c1bd350d0 /drivers/hid/usbhid/usbmouse.c
parent938d0071573c5f83da87cc607bebea1e5b4e52b6 (diff)
downloadlinux-7021b60073f8059e1ec8aa140eb5fdfc017d0041.tar.gz
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/usbmouse.c')
-rw-r--r--drivers/hid/usbhid/usbmouse.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/hid/usbhid/usbmouse.c b/drivers/hid/usbhid/usbmouse.c
index bf16d72dc370..dd911c5241d8 100644
--- a/drivers/hid/usbhid/usbmouse.c
+++ b/drivers/hid/usbhid/usbmouse.c
@@ -42,11 +42,10 @@
#define DRIVER_VERSION "v1.6"
#define DRIVER_AUTHOR "Vojtech Pavlik <vojtech@ucw.cz>"
#define DRIVER_DESC "USB HID Boot Protocol mouse driver"
-#define DRIVER_LICENSE "GPL"
MODULE_AUTHOR(DRIVER_AUTHOR);
MODULE_DESCRIPTION(DRIVER_DESC);
-MODULE_LICENSE(DRIVER_LICENSE);
+MODULE_LICENSE("GPL");
struct usb_mouse {
char name[128];