use new msleep() in ADT746x driver
PATCH 1/1 use new msleep() in ADT746x driver
This patch replaces schedule_timeout() with the new msleep().
Signed-off-by Benjamin Herrenschmidt <[email protected]>
Signed-off-by Colin Leroy <[email protected]>
macintosh/therm_adt746x.c renamed from macintosh/therm_adt746x.c.orig +1 -2
@@ -247,8 +247,7 @@while (monitor_running) { -set_task_state (current,TASK_UNINTERRUPTIBLE ); -schedule_timeout (2 *HZ ); +msleep (2000 );/* Check status */ /* local : chip */
Signature · 1 line
Benjamin Herrenschmidt <[email protected]>