From f2bd242fa114df07ab8ed0d2f445a9a313e3aaa1 Mon Sep 17 00:00:00 2001 From: Chris Rorvick Date: Sat, 7 Feb 2015 10:43:18 -0600 Subject: [PATCH] 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-format-patch failed