ALSA: line6: Pass toneport pointer to toneport_has_led()
authorChris Rorvick <chris@rorvick.com>
Sat, 7 Feb 2015 16:43:18 +0000 (10:43 -0600)
committerTakashi Iwai <tiwai@suse.de>
Sun, 8 Feb 2015 08:06:08 +0000 (09:06 +0100)
commitf2bd242fa114df07ab8ed0d2f445a9a313e3aaa1
treea62e742f7e13a6ad8df987b55095a2b8e6ffab3d
parent89444601e5878042812e33da0c17807197c2669c
ALSA: line6: Pass toneport pointer to toneport_has_led()

It is unlikely this function would ever be used in a context without a
pointer to a `struct usb_line6_toneport', so grab the device type from
it rather than having the caller do it.

Signed-off-by: Chris Rorvick <chris@rorvick.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/line6/toneport.c