summaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorDmitry Torokhov <dtor@insightbb.com>2007-05-15 05:52:22 +0200
committerDmitry Torokhov <dtor@insightbb.com>2007-05-23 05:24:28 +0200
commit1124d5ca7b7296035c1cc5fc00fdbfa44603b2ac (patch)
tree95f44e9520deb1d9f5392d643e7eea23ad364dee /drivers/mfd
parentInput: ucb1400_ts - use sched_setscheduler() (diff)
downloadlinux-1124d5ca7b7296035c1cc5fc00fdbfa44603b2ac.tar.xz
linux-1124d5ca7b7296035c1cc5fc00fdbfa44603b2ac.zip
Input: ucb1x00-ts - remove commented out code
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/ucb1x00-ts.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/drivers/mfd/ucb1x00-ts.c b/drivers/mfd/ucb1x00-ts.c
index ce1a48108210..b023eae3c3ec 100644
--- a/drivers/mfd/ucb1x00-ts.c
+++ b/drivers/mfd/ucb1x00-ts.c
@@ -208,16 +208,7 @@ static int ucb1x00_thread(void *_ts)
struct ucb1x00_ts *ts = _ts;
struct task_struct *tsk = current;
DECLARE_WAITQUEUE(wait, tsk);
- int valid;
-
- /*
- * We could run as a real-time thread. However, thus far
- * this doesn't seem to be necessary.
- */
-// tsk->policy = SCHED_FIFO;
-// tsk->rt_priority = 1;
-
- valid = 0;
+ int valid = 0;
add_wait_queue(&ts->irq_wait, &wait);
while (!kthread_should_stop()) {