Commit cb876f03 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] use new msleep() in ADT746x driver

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>

This patch replaces schedule_timeout() with the new msleep().
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: default avatarColin Leroy <colin@colino.net>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 3285df44
......@@ -246,8 +246,7 @@ static int monitor_task(void *arg)
while(monitor_running)
{
set_task_state(current, TASK_UNINTERRUPTIBLE);
schedule_timeout(2*HZ);
msleep(2000);
/* Check status */
/* local : chip */
......
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