aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/i2c-hid
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@gmail.com>2012-12-04 10:27:45 -0500
committerJiri Kosina <jkosina@suse.cz>2012-12-05 04:55:34 -0500
commitee8e8806348732e328d119418a9788aabeceed0a (patch)
treee9e222c058066c2f069737fc93ecd56feab3e692 /drivers/hid/i2c-hid
parent8ee0c05aa0c8310621fa6c8dec43e9415e5542be (diff)
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 @@
46#define I2C_HID_PWR_SLEEP 0x01 46#define I2C_HID_PWR_SLEEP 0x01
47 47
48/* debug option */ 48/* debug option */
49static bool debug = false; 49static bool debug;
50module_param(debug, bool, 0444); 50module_param(debug, bool, 0444);
51MODULE_PARM_DESC(debug, "print a lot of debug information"); 51MODULE_PARM_DESC(debug, "print a lot of debug information");
52 52