From f072e0cd5a31350376e8e0f6a6c9cd66a2b00fb9 Mon Sep 17 00:00:00 2001 From: "Nickolay V. Shmyrev" Date: Wed, 14 Sep 2005 21:49:42 +0000 Subject: * saa6588.c: - Improved coding style for timer settings Signed-off-by: Hans J. Koch --- linux/drivers/media/video/saa6588.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux/drivers') diff --git a/linux/drivers/media/video/saa6588.c b/linux/drivers/media/video/saa6588.c index 808b89493..e4a274c67 100644 --- a/linux/drivers/media/video/saa6588.c +++ b/linux/drivers/media/video/saa6588.c @@ -332,7 +332,7 @@ static void saa6588_work(void *data) struct saa6588 *s = (struct saa6588 *)data; saa6588_i2c_poll(s); - mod_timer(&s->timer, jiffies + HZ / 50); /* 20 msec */ + mod_timer(&s->timer, jiffies + msecs_to_jiffies(20)); } static int saa6588_configure(struct saa6588 *s) -- cgit v1.2.3