summaryrefslogtreecommitdiffstats
path: root/drivers/hid/i2c-hid
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@gmail.com>2012-12-04 16:27:45 +0100
committerJiri Kosina <jkosina@suse.cz>2012-12-05 10:55:34 +0100
commitee8e8806348732e328d119418a9788aabeceed0a (patch)
treee9e222c058066c2f069737fc93ecd56feab3e692 /drivers/hid/i2c-hid
parentHID: i2c-hid: enhance Kconfig (diff)
downloadlinux-ee8e8806348732e328d119418a9788aabeceed0a.tar.xz
linux-ee8e8806348732e328d119418a9788aabeceed0a.zip
HID: i2c-hid: fix checkpatch.pl warning
We should not initialize to 0 static declarations. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com> Reviewed-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/i2c-hid')
-rw-r--r--drivers/hid/i2c-hid/i2c-hid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/i2c-hid/i2c-hid.c b/drivers/hid/i2c-hid/i2c-hid.c
index 0fbb22906806..3c8fe4673705 100644
--- a/drivers/hid/i2c-hid/i2c-hid.c
+++ b/drivers/hid/i2c-hid/i2c-hid.c
@@ -46,7 +46,7 @@
#define I2C_HID_PWR_SLEEP 0x01
/* debug option */
-static bool debug = false;
+static bool debug;
module_param(debug, bool, 0444);
MODULE_PARM_DESC(debug, "print a lot of debug information");