Commit 4936f97c authored by Felipe Contreras's avatar Felipe Contreras Committed by Dmitry Torokhov

Input: twl4030_keypad - fix comment (trivial)

And trivial whitespace fixes.
Signed-off-by: default avatarFelipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent b18db3d9
...@@ -34,7 +34,6 @@ ...@@ -34,7 +34,6 @@
#include <linux/i2c/twl.h> #include <linux/i2c/twl.h>
#include <linux/slab.h> #include <linux/slab.h>
/* /*
* The TWL4030 family chips include a keypad controller that supports * The TWL4030 family chips include a keypad controller that supports
* up to an 8x8 switch matrix. The controller can issue system wakeup * up to an 8x8 switch matrix. The controller can issue system wakeup
...@@ -302,7 +301,7 @@ static int __devinit twl4030_kp_program(struct twl4030_keypad *kp) ...@@ -302,7 +301,7 @@ static int __devinit twl4030_kp_program(struct twl4030_keypad *kp)
if (twl4030_kpwrite_u8(kp, i, KEYP_DEB) < 0) if (twl4030_kpwrite_u8(kp, i, KEYP_DEB) < 0)
return -EIO; return -EIO;
/* Set timeout period to 100 ms */ /* Set timeout period to 200 ms */
i = KEYP_PERIOD_US(200000, PTV_PRESCALER); i = KEYP_PERIOD_US(200000, PTV_PRESCALER);
if (twl4030_kpwrite_u8(kp, (i & 0xFF), KEYP_TIMEOUT_L) < 0) if (twl4030_kpwrite_u8(kp, (i & 0xFF), KEYP_TIMEOUT_L) < 0)
return -EIO; return -EIO;
...@@ -466,4 +465,3 @@ MODULE_AUTHOR("Texas Instruments"); ...@@ -466,4 +465,3 @@ MODULE_AUTHOR("Texas Instruments");
MODULE_DESCRIPTION("TWL4030 Keypad Driver"); MODULE_DESCRIPTION("TWL4030 Keypad Driver");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_ALIAS("platform:twl4030_keypad"); MODULE_ALIAS("platform:twl4030_keypad");
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment