]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ALSA: Remove deprecated snd_card_create()
authorTakashi Iwai <tiwai@suse.de>
Fri, 23 May 2014 07:57:55 +0000 (09:57 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 23 May 2014 07:57:55 +0000 (09:57 +0200)
Now all calls have been fixed, let's get rid of the old definition.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/core.h

index d3f5f818e0b901909f1ad8c92f8d0930b338cd78..eedda2cdfe5796298f8aa4847ecd6fb8e3a2a098 100644 (file)
@@ -282,13 +282,6 @@ int snd_card_new(struct device *parent, int idx, const char *xid,
                 struct module *module, int extra_size,
                 struct snd_card **card_ret);
 
-static inline int __deprecated
-snd_card_create(int idx, const char *id, struct module *module, int extra_size,
-               struct snd_card **ret)
-{
-       return snd_card_new(NULL, idx, id, module, extra_size, ret);
-}
-
 int snd_card_disconnect(struct snd_card *card);
 int snd_card_free(struct snd_card *card);
 int snd_card_free_when_closed(struct snd_card *card);