aboutsummaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorHans J. Koch <koch@hjk-az.de>2005-11-08 21:36:35 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-09 07:56:10 -0800
commite222f83406f987c661b6da2d3fb4fc8ae8b5c660 (patch)
tree51121fe55588c8641363b93db36c6d892f9f4e4f /drivers/media
parentbb881f142465a7a70bc9a364786e39aa4aaba4d2 (diff)
[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')
-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 72b70eb5da1..31a9797bd97 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)