summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa6588.c
diff options
context:
space:
mode:
authorHans J. Koch <koch@hjk-az.de>2005-11-09 06:36:35 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-09 16:56:10 +0100
commite222f83406f987c661b6da2d3fb4fc8ae8b5c660 (patch)
tree51121fe55588c8641363b93db36c6d892f9f4e4f /drivers/media/video/saa6588.c
parent[PATCH] v4l: 663: add new rtd cards (diff)
downloadlinux-e222f83406f987c661b6da2d3fb4fc8ae8b5c660.tar.xz
linux-e222f83406f987c661b6da2d3fb4fc8ae8b5c660.zip
[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>
Diffstat (limited to 'drivers/media/video/saa6588.c')
-rw-r--r--drivers/media/video/saa6588.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/saa6588.c b/drivers/media/video/saa6588.c
index 72b70eb5da1d..31a9797bd973 100644
--- a/drivers/media/video/saa6588.c
+++ b/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)