ALSA: sb: Convert timers to use timer_setup()
authorKees Cook <keescook@chromium.org>
Tue, 24 Oct 2017 15:34:58 +0000 (08:34 -0700)
committerTakashi Iwai <tiwai@suse.de>
Wed, 25 Oct 2017 07:51:21 +0000 (09:51 +0200)
commit4f928246f0e8f9bda88f41131ec447a1b8193dbc
tree1d6cf9500b82aeceb704427768b936fdabfbd771
parent57e69e2f06e8fe4949c54e438c9faae0731e92f8
ALSA: sb: 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.

[Re-use the existing chip->midi_substream_output instead of assigning
 a new field to struct snd_sb -- tiwai]

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/isa/sb/emu8000_pcm.c
sound/isa/sb/sb8_midi.c