summaryrefslogtreecommitdiff
path: root/drivers/hid/i2c-hid/i2c-hid.c
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/i2c-hid.c
parent8ee0c05aa0c8310621fa6c8dec43e9415e5542be (diff)
downloadlinux-3.10-ee8e8806348732e328d119418a9788aabeceed0a.tar.gz
linux-3.10-ee8e8806348732e328d119418a9788aabeceed0a.tar.bz2
linux-3.10-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/i2c-hid.c')
-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 0fbb2290680..3c8fe467370 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");