]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
[media] media/i2c/tc358743: Initialize timer
authorKees Cook <keescook@chromium.org>
Wed, 20 Sep 2017 23:27:41 +0000 (20:27 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 4 Oct 2017 19:59:47 +0000 (16:59 -0300)
commitd17dd2db943272b6d9d1315528cde9dad74fa6ed
tree84d666dba3d4844703642ce0c78c1a1b4e53fbcb
parent02005cb27ca98792ac97728811e8dd30b3c1e798
[media] media/i2c/tc358743: Initialize timer

This converts to use setup_timer() to set callback and data, though it
doesn't look like this would have worked with timer checking enabled
since no init_timer() was ever called before.

Cc: Mats Randgaard <matrandg@cisco.com>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/tc358743.c