aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid
diff options
context:
space:
mode:
authorStefan Achatz <erazor_de@users.sourceforge.net>2010-05-12 11:43:34 -0400
committerJiri Kosina <jkosina@suse.cz>2010-05-19 07:59:21 -0400
commit1f749d8d5f92c275e35cdcd1fdcb7c8298157118 (patch)
tree755f6b28428e1fa9dfbd0ba00f50dabb09dd4755 /drivers/hid
parent48e70804d37f9c52aab7c4ce7b7ab7bc7b800099 (diff)
HID: roccat: cleanup preprocessor macros
Removed useless preprocessor macros and renamed remaining one to be more qualified. Signed-off-by: Stefan Achatz <erazor_de@users.sourceforge.net> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid')
-rw-r--r--drivers/hid/hid-roccat-kone.c8
-rw-r--r--drivers/hid/hid-roccat-kone.h5
2 files changed, 5 insertions, 8 deletions
diff --git a/drivers/hid/hid-roccat-kone.c b/drivers/hid/hid-roccat-kone.c
index 8f35fe22f419..66e694054ba2 100644
--- a/drivers/hid/hid-roccat-kone.c
+++ b/drivers/hid/hid-roccat-kone.c
@@ -630,7 +630,7 @@ static ssize_t kone_sysfs_set_startup_profile(struct device *dev,
630static ssize_t kone_sysfs_show_driver_version(struct device *dev, 630static ssize_t kone_sysfs_show_driver_version(struct device *dev,
631 struct device_attribute *attr, char *buf) 631 struct device_attribute *attr, char *buf)
632{ 632{
633 return snprintf(buf, PAGE_SIZE, DRIVER_VERSION "\n"); 633 return snprintf(buf, PAGE_SIZE, ROCCAT_KONE_DRIVER_VERSION "\n");
634} 634}
635 635
636/* 636/*
@@ -989,6 +989,6 @@ static void __exit kone_exit(void)
989module_init(kone_init); 989module_init(kone_init);
990module_exit(kone_exit); 990module_exit(kone_exit);
991 991
992MODULE_AUTHOR(DRIVER_AUTHOR); 992MODULE_AUTHOR("Stefan Achatz");
993MODULE_DESCRIPTION(DRIVER_DESC); 993MODULE_DESCRIPTION("USB Roccat Kone driver");
994MODULE_LICENSE(DRIVER_LICENSE); 994MODULE_LICENSE("GPL v2");
diff --git a/drivers/hid/hid-roccat-kone.h b/drivers/hid/hid-roccat-kone.h
index 13309544b6fa..b413b10a7f8a 100644
--- a/drivers/hid/hid-roccat-kone.h
+++ b/drivers/hid/hid-roccat-kone.h
@@ -14,10 +14,7 @@
14 14
15#include <linux/types.h> 15#include <linux/types.h>
16 16
17#define DRIVER_VERSION "v0.3.0" 17#define ROCCAT_KONE_DRIVER_VERSION "v0.3.1"
18#define DRIVER_AUTHOR "Stefan Achatz"
19#define DRIVER_DESC "USB Roccat Kone driver"
20#define DRIVER_LICENSE "GPL v2"
21 18
22#pragma pack(push) 19#pragma pack(push)
23#pragma pack(1) 20#pragma pack(1)