Title: [7236] trunk/drivers/input/keyboard/adp5588_keys.c: Cleanup - No functional changes
- Revision
- 7236
- Author
- hennerich
- Date
- 2009-08-26 02:06:38 -0400 (Wed, 26 Aug 2009)
Log Message
Cleanup - No functional changes
Modified Paths
Diff
Modified: trunk/drivers/input/keyboard/adp5588_keys.c (7235 => 7236)
--- trunk/drivers/input/keyboard/adp5588_keys.c 2009-08-26 05:59:51 UTC (rev 7235)
+++ trunk/drivers/input/keyboard/adp5588_keys.c 2009-08-26 06:06:38 UTC (rev 7236)
@@ -121,9 +121,8 @@
* since the Event Counter Register updated 25ms after the interrupt
* asserted.
*/
+#define WA_DELAYED_READOUT_REVID(rev) ((rev) < 4)
-#define WA_DELAYED_READOUT_REVID 4
-
struct adp5588_kpad {
struct i2c_client *client;
struct input_dev *input;
@@ -185,7 +184,7 @@
*/
schedule_delayed_work(&kpad->work,
- kpad->revid < WA_DELAYED_READOUT_REVID ?
+ WA_DELAYED_READOUT_REVID(kpad->revid) ?
(unsigned long) msecs_to_jiffies(30) : 0);
return IRQ_HANDLED;
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits