Skip to contentSkip to conversation

i2c-ite: replace schedule_timeout() with

PATCH New Nishanth Aravamudan 1 participant 1 message Jul 22, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i2c-ite: replace schedule_timeout() with

I would appreciate any comments from the janitors list. This is one (of a few) places where I had to make a decision to set the state before the call to

schedule_timeout();

This of course affected any decision to replace the code with msleep() or not. Please inform if the other state from the one I used is desired.

Thanks,
Nish

Applys-to: 2.6.7

Description: Remove iic_ite_sleep() and replace invocations with msleep().

drivers/i2c/busses/i2c-ite.c +0 -8
@@ -102,14 +102,6 @@ static int iic_ite_getclock(void *data)
 }
 
 
-#if 0
-static void iic_ite_sleep(unsigned long timeout)
-{
-	schedule_timeout( timeout * HZ);
-}
-#endif
-
-
 /* Put this process to sleep.  We will wake up when the
  * IIC controller interrupts.
  */

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors