summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-core.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/hid-core.c
parent938d0071573c5f83da87cc607bebea1e5b4e52b6 (diff)
downloadlwn-7021b60073f8059e1ec8aa140eb5fdfc017d0041.tar.gz
lwn-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/hid-core.c')
-rw-r--r--drivers/hid/hid-core.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
index cff060b56da9..3146e30dfc61 100644
--- a/drivers/hid/hid-core.c
+++ b/drivers/hid/hid-core.c
@@ -43,7 +43,6 @@
*/
#define DRIVER_DESC "HID core driver"
-#define DRIVER_LICENSE "GPL"
int hid_debug = 0;
module_param_named(debug, hid_debug, int, 0600);
@@ -2866,5 +2865,5 @@ module_exit(hid_exit);
MODULE_AUTHOR("Andreas Gal");
MODULE_AUTHOR("Vojtech Pavlik");
MODULE_AUTHOR("Jiri Kosina");
-MODULE_LICENSE(DRIVER_LICENSE);
+MODULE_LICENSE("GPL");