samples: Convert timers to use timer_setup()
authorKees Cook <keescook@chromium.org>
Mon, 16 Oct 2017 23:02:25 +0000 (16:02 -0700)
committerJonathan Corbet <corbet@lwn.net>
Thu, 19 Oct 2017 19:06:04 +0000 (13:06 -0600)
commit0d6942348c71cc3246d166245e811841b7388587
tree9c0c01a5045192023bbff8d8e3f3b4b607772ba2
parent7d7363e403ce959941f80684cc5f33e747afff17
samples: Convert timers to use timer_setup()

In preparation for unconditionally passing the struct timer_list pointer to
all timer callbacks, switch to using the new timer_setup() and from_timer()
to pass the timer pointer explicitly.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
samples/connector/cn_test.c