]> git.baikalelectronics.ru Git - kernel.git/commit
[media] media: radio-cadet, initialize timer with setup_timer
authorMatej Hulín <mito.hulin@gmail.com>
Mon, 23 Jan 2017 09:12:30 +0000 (07:12 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 3 Feb 2017 13:23:51 +0000 (11:23 -0200)
commiteeeb860b29da527498c5c8fd1041f6880defa081
tree820ad9d0ed335deebe061105921412b538fa1121
parented0dfb7bf334219afdc178a87040590e75b879b6
[media] media: radio-cadet, initialize timer with setup_timer

Stop accessing timer struct members directly and use the setup_timer
helper intended for that use. It makes the code cleaner and will allow
for easier change of the timer struct internals.

Signed-off-by: Matej Hulín <mito.hulin@gmail.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/radio/radio-cadet.c