[PATCH] I2C update for 2.6.9

From: Greg KH
Date: Tue Oct 19 2004 - 22:16:18 EST


ChangeSet 1.1832.73.1, 2004/09/08 12:33:40-07:00, nacc@xxxxxxxxxx

[PATCH] i2c-algo-ite: remove iic_sleep()

Removes unused function iic_sleep().

Signed-off-by: Nishanth Aravamudan <nacc@xxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <greg@xxxxxxxxx>


drivers/i2c/algos/i2c-algo-ite.c | 8 --------
1 files changed, 8 deletions(-)


diff -Nru a/drivers/i2c/algos/i2c-algo-ite.c b/drivers/i2c/algos/i2c-algo-ite.c
--- a/drivers/i2c/algos/i2c-algo-ite.c 2004-10-19 16:56:02 -07:00
+++ b/drivers/i2c/algos/i2c-algo-ite.c 2004-10-19 16:56:02 -07:00
@@ -107,14 +107,6 @@
return(timeout<=0);
}

-/*
- * Puts this process to sleep for a period equal to timeout
- */
-static inline void iic_sleep(unsigned long timeout)
-{
- schedule_timeout( timeout * HZ);
-}
-
/* After we issue a transaction on the IIC bus, this function
* is called. It puts this process to sleep until we get an interrupt from
* from the controller telling us that the transaction we requested in complete.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/