]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
serial: m32r_sio: Convert timers to use timer_setup()
authorKees Cook <keescook@chromium.org>
Mon, 16 Oct 2017 23:27:37 +0000 (16:27 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Oct 2017 12:06:46 +0000 (14:06 +0200)
commitf0f62c67dd53ce0ed26ad2940be1dfff5c3d7bd9
tree00b23cec0a6d776e95c471da3bcd138f7963c051
parent54ff200e66f837da9b0b24570a02d95d67d1d42f
serial: m32r_sio: 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.

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