From: Chris Rorvick Date: Sat, 7 Feb 2015 16:43:18 +0000 (-0600) Subject: ALSA: line6: Pass toneport pointer to toneport_has_led() X-Git-Tag: fixes-v4.0-rc1~146^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2bd242fa114df07ab8ed0d2f445a9a313e3aaa1;p=pandora-kernel.git 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 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed