summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-01-30 08:39:40 +0100
committerTakashi Iwai <tiwai@suse.de>2015-02-02 17:01:38 +0100
commit830953c0724b42be30a74febcde6c89c706ed286 (patch)
tree5f647e3a5b09133b9af0f5c1023132624ca7a833 /include/sound
parentALSA: Simplify snd_device_register() variants (diff)
downloadlinux-830953c0724b42be30a74febcde6c89c706ed286.tar.xz
linux-830953c0724b42be30a74febcde6c89c706ed286.zip
ALSA: Drop snd_get_device() helper
Since the device is no longer hidden but embedded into each component, we no longer need snd_get_device(). Let's drop it and relevant codes. Reviewed-by: Jaroslav Kysela <perex@perex.cz> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/core.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/sound/core.h b/include/sound/core.h
index 67ac309bb218..58882bfacdd7 100644
--- a/include/sound/core.h
+++ b/include/sound/core.h
@@ -214,7 +214,6 @@ int snd_register_device(int type, struct snd_card *card, int dev,
void *private_data, struct device *device);
int snd_unregister_device(struct device *dev);
void *snd_lookup_minor_data(unsigned int minor, int type);
-struct device *snd_get_device(int type, struct snd_card *card, int dev);
#ifdef CONFIG_SND_OSSEMUL
int snd_register_oss_device(int type, struct snd_card *card, int dev,