Commit e222f834 authored by Hans J. Koch's avatar Hans J. Koch Committed by Linus Torvalds

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

- Improved coding style for timer settings
Signed-off-by: default avatarHans J. Koch <koch@hjk-az.de>
Signed-off-by: default avatarNickolay V. Shmyrev <nshmyrev@yandex.ru>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@brturbo.com.br>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent bb881f14
...@@ -328,7 +328,7 @@ static void saa6588_work(void *data) ...@@ -328,7 +328,7 @@ static void saa6588_work(void *data)
struct saa6588 *s = (struct saa6588 *)data; struct saa6588 *s = (struct saa6588 *)data;
saa6588_i2c_poll(s); 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) static int saa6588_configure(struct saa6588 *s)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment