ALSA: Introduce snd_card_create()
authorTakashi Iwai <tiwai@alsa3.local>
Sun, 28 Dec 2008 15:32:08 +0000 (16:32 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 12 Jan 2009 13:56:41 +0000 (14:56 +0100)
Introduced snd_card_create() function as a replacement of snd_card_new().
The new function returns a negative error code so that the probe callback
can return the proper error code, while snd_card_new() can give only NULL
check.

The old snd_card_new() is still provided as an inline function but with
__deprecated attribute.  It'll be removed soon later.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found