From: Takashi Iwai Date: Sun, 28 Dec 2008 15:32:08 +0000 (+0100) Subject: ALSA: Introduce snd_card_create() X-Git-Tag: v2.6.30-rc1~8^2~132^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53fb1e63599438bd5f6fbb852023d80916d83983;p=pandora-kernel.git ALSA: Introduce snd_card_create() 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 --- Reading git-diff-tree failed