commit | f2bd242fa114df07ab8ed0d2f445a9a313e3aaa1 | [log] [tgz] |
---|---|---|
author | Chris Rorvick <chris@rorvick.com> | Sat Feb 07 10:43:18 2015 -0600 |
committer | Takashi Iwai <tiwai@suse.de> | Sun Feb 08 09:06:08 2015 +0100 |
tree | a62e742f7e13a6ad8df987b55095a2b8e6ffab3d | |
parent | 89444601e5878042812e33da0c17807197c2669c [diff] |
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>