提交 e222f834 编写于 作者: H Hans J. Koch 提交者: Linus Torvalds

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

- Improved coding style for timer settings
Signed-off-by: NHans J. Koch <koch@hjk-az.de>
Signed-off-by: NNickolay V. Shmyrev <nshmyrev@yandex.ru>
Signed-off-by: NMauro Carvalho Chehab <mchehab@brturbo.com.br>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 bb881f14
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册