Browse Source

[PATCH] v4l: 664: improved coding style for timer settings

- Improved coding style for timer settings

Signed-off-by: Hans J. Koch <koch@hjk-az.de>
Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Hans J. Koch 19 years ago
parent
commit
e222f83406
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/media/video/saa6588.c

+ 1 - 1
drivers/media/video/saa6588.c

@@ -328,7 +328,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)