Messages in this thread Patch in this message | | | Subject | [PATCH] I2C update for 2.6.9 | Date | Tue, 19 Oct 2004 17:18:23 -0700 | From | Greg KH <> |
| |
ChangeSet 1.1832.73.1, 2004/09/08 12:33:40-07:00, nacc@us.ibm.com
[PATCH] i2c-algo-ite: remove iic_sleep()
Removes unused function iic_sleep().
Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |