aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2009-10-02 12:31:36 -0400
committerJiri Kosina <jkosina@suse.cz>2009-10-13 16:36:57 -0400
commitccabcd2dbe08c3b44ebae18e43ba212dfcb706d1 (patch)
treef168aaee7a638a079b7b1a12c81559baa6aa84cd /drivers
parent88adb72bcf3b1cc6b440fda9fa97bc2151245fc5 (diff)
HID: remove useless DRIVER_VERSION macro
DRIVER_VERSION has no use whatosoever, it has been set to "2.6" for ages. Remove it. Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/hid/hid-core.c1
-rw-r--r--drivers/hid/usbhid/hid-core.c4
2 files changed, 1 insertions, 4 deletions
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
index c4cb8e9d0e7c..6d5c84573b3a 100644
--- a/drivers/hid/hid-core.c
+++ b/drivers/hid/hid-core.c
@@ -39,7 +39,6 @@
39 * Version Information 39 * Version Information
40 */ 40 */
41 41
42#define DRIVER_VERSION "v2.6"
43#define DRIVER_DESC "HID core driver" 42#define DRIVER_DESC "HID core driver"
44#define DRIVER_LICENSE "GPL" 43#define DRIVER_LICENSE "GPL"
45 44
diff --git a/drivers/hid/usbhid/hid-core.c b/drivers/hid/usbhid/hid-core.c
index 390225dbb669..3f56e9c02e65 100644
--- a/drivers/hid/usbhid/hid-core.c
+++ b/drivers/hid/usbhid/hid-core.c
@@ -41,7 +41,6 @@
41 * Version Information 41 * Version Information
42 */ 42 */
43 43
44#define DRIVER_VERSION "v2.6"
45#define DRIVER_DESC "USB HID core driver" 44#define DRIVER_DESC "USB HID core driver"
46#define DRIVER_LICENSE "GPL" 45#define DRIVER_LICENSE "GPL"
47 46
@@ -1394,8 +1393,7 @@ static int __init hid_init(void)
1394 retval = usb_register(&hid_driver); 1393 retval = usb_register(&hid_driver);
1395 if (retval) 1394 if (retval)
1396 goto usb_register_fail; 1395 goto usb_register_fail;
1397 printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_VERSION ":" 1396 printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_DESC "\n");
1398 DRIVER_DESC "\n");
1399 1397
1400 return 0; 1398 return 0;
1401usb_register_fail: 1399usb_register_fail: