aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/serio/i8042.h
diff options
context:
space:
mode:
authorDmitry Torokhov <dtor@insightbb.com>2006-09-10 21:57:21 -0400
committerDmitry Torokhov <dtor@insightbb.com>2006-09-10 21:57:21 -0400
commitde9ce703c6b807b1dfef5942df4f2fadd0fdb67a (patch)
treeeb3e97c34d0d72fbd52cd688ef3f4ad3c559ad36 /drivers/input/serio/i8042.h
parentInput: send key up events at disconnect (diff)
downloadlinux-dev-de9ce703c6b807b1dfef5942df4f2fadd0fdb67a.tar.xz
linux-dev-de9ce703c6b807b1dfef5942df4f2fadd0fdb67a.zip
Input: i8042 - get rid of polling timer
Remove polling timer that was used to detect keybord/mice hotplug and register both IRQs right away instead of waiting for a driver to attach to a port. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/serio/i8042.h')
-rw-r--r--drivers/input/serio/i8042.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/input/serio/i8042.h b/drivers/input/serio/i8042.h
index af526ab9ec04..b3eb7a72d961 100644
--- a/drivers/input/serio/i8042.h
+++ b/drivers/input/serio/i8042.h
@@ -37,15 +37,6 @@
#define I8042_CTL_TIMEOUT 10000
/*
- * When the device isn't opened and it's interrupts aren't used, we poll it at
- * regular intervals to see if any characters arrived. If yes, we can start
- * probing for any mouse / keyboard connected. This is the period of the
- * polling.
- */
-
-#define I8042_POLL_PERIOD HZ/20
-
-/*
* Status register bits.
*/