]> err.no Git - linux-2.6/blobdiff - drivers/macintosh/therm_adt746x.c
[PATCH] USB: ftdi_sio: allow baud rate to be changed without raising RTS and DTR
[linux-2.6] / drivers / macintosh / therm_adt746x.c
index 5ba190ce14a07dbc8a17607d5dce10bc919f8b29..c9ca1118e449207c2dca58a742b0ddd204a556d7 100644 (file)
@@ -328,9 +328,7 @@ static int monitor_task(void *arg)
        struct thermostat* th = arg;
 
        while(!kthread_should_stop()) {
-               if (current->flags & PF_FREEZE)
-                       refrigerator(PF_FREEZE);
-
+               try_to_freeze();
                msleep_interruptible(2000);
 
 #ifndef DEBUG