summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/ak4104.c
diff options
context:
space:
mode:
authorJames Morris <jmorris@namei.org>2009-12-09 09:01:03 +0100
committerJames Morris <jmorris@namei.org>2009-12-09 09:01:03 +0100
commit1ad1f10cd915744bbe52b19423653b38287d827d (patch)
treeae072aace36b45a55d80b8cbf1b6d92523a88ea0 /sound/soc/codecs/ak4104.c
parentselinux: remove a useless return (diff)
parentMerge branches 'timers-for-linus-ntp' and 'irq-core-for-linus' of git://git.k... (diff)
downloadlinux-1ad1f10cd915744bbe52b19423653b38287d827d.tar.xz
linux-1ad1f10cd915744bbe52b19423653b38287d827d.zip
Merge branch 'master' into next
Diffstat (limited to 'sound/soc/codecs/ak4104.c')
-rw-r--r--sound/soc/codecs/ak4104.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sound/soc/codecs/ak4104.c b/sound/soc/codecs/ak4104.c
index 4d47bc4f7428..3a14c6fc4f5e 100644
--- a/sound/soc/codecs/ak4104.c
+++ b/sound/soc/codecs/ak4104.c
@@ -313,14 +313,6 @@ static int ak4104_probe(struct platform_device *pdev)
return ret;
}
- /* Register the socdev */
- ret = snd_soc_init_card(socdev);
- if (ret < 0) {
- dev_err(codec->dev, "failed to register card\n");
- snd_soc_free_pcms(socdev);
- return ret;
- }
-
return 0;
}