]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
tty: cyclades: Convert timers to use timer_setup()
authorKees Cook <keescook@chromium.org>
Tue, 24 Oct 2017 10:00:18 +0000 (03:00 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 4 Nov 2017 11:01:54 +0000 (12:01 +0100)
commita8497b31fee650846fcc5a1e41f4ef22318a9925
treea7b92db99b501b547a22de5e90e6bf0d5e9c807a
parent4790b6dc7ad6c0f1eb71b94c4babe10a9c41c697
tty: cyclades: 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. Moves timer structures
from global to attached to struct cyclades_port.

Cc: Jiri Slaby <jslaby@suse.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/cyclades.c
include/linux/cyclades.h