commit | aca514b82356dcc3575da33453382bd27593aea1 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Sun Jan 25 18:36:29 2015 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Wed Jan 28 07:22:07 2015 +0100 |
tree | ccb08ee0c6142b905382df6d192375e5f53d257c | |
parent | f66fd990c5db177d6b9f0eae301ca6b15882eb2e [diff] |
ALSA: line6: Let snd_card_new() allocate private data Instead of allocating the private data individually in each driver's probe at first, let snd_card_new() allocate the data that is called in line6_probe(). This simplifies the primary probe functions. Tested-by: Chris Rorvick <chris@rorvick.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>