ALSA: line6: Minor tidy up in line6_probe()
authorTakashi Iwai <tiwai@suse.de>
Sun, 25 Jan 2015 17:41:26 +0000 (18:41 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 28 Jan 2015 06:22:16 +0000 (07:22 +0100)
commitd6ca69d82522cb0e59777deea3673c85c7db7f45
tree8d8c17684038092645cc2ff497ff2c266d703df1
parentaca514b82356dcc3575da33453382bd27593aea1
ALSA: line6: Minor tidy up in line6_probe()

Move the check of multi configurations before snd_card_new() as a
short path, and reduce superfluous pointer references.

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