OSDN Git Service

ALSA: usb-audio: Avoid lowlevel device object
authorTakashi Iwai <tiwai@suse.de>
Sun, 27 May 2018 13:07:01 +0000 (15:07 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 28 May 2018 12:57:30 +0000 (14:57 +0200)
commit011ae2bf06690c9fd6209537b4775855122f5c86
tree0ccebb6ca81505397ae2bde75aa31280509420b9
parentf25ecf8f987d51be388e53de7b9e0e5815acc10b
ALSA: usb-audio: Avoid lowlevel device object

Simplify the device management by replacing the lowlevel device object
allocation with the card->private_data.  Nowadays there is almost no
advantage by the lowlevel device, and with card->private_data, the
code becomes cleaner.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/card.c