[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>
This commit is contained in:
Hans J. Koch 2005-11-08 21:36:35 -08:00 committed by Linus Torvalds
parent bb881f1424
commit e222f83406

View File

@ -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)