vserver 1.9.3
[linux-2.6.git] / drivers / char / ds1620.c
index e2c4eca..7def6ad 100644 (file)
@@ -373,8 +373,7 @@ static int __init ds1620_init(void)
        th_start.hi = 1;
        ds1620_write_state(&th_start);
 
-       set_current_state(TASK_INTERRUPTIBLE);
-       schedule_timeout(2*HZ);
+       msleep(2000);
 
        ds1620_write_state(&th);