tracking-2.6.29-rc2-alsa-soc-res-write-sysfs-gone.patch
authorAndy Green <andy@openmoko.com>
Tue, 27 Jan 2009 14:39:03 +0000 (14:39 +0000)
committerAndy Green <agreen@octopus.localdomain>
Tue, 27 Jan 2009 14:39:03 +0000 (14:39 +0000)
Signed-off-by: Andy Green <andy@openmoko.com>

sound/soc/soc-core.c

index db76c18..62eda26 100644 (file)
@@ -1408,9 +1408,6 @@ int snd_soc_init_card(struct snd_soc_device *socdev)
        soc_init_codec_debugfs(socdev->codec);
        mutex_unlock(&codec->mutex);
 
-       err = device_create_file(socdev->dev, &dev_attr_codec_reg_write);
-       if (err < 0)
-               printk(KERN_WARNING "asoc: failed to add codec sysfs entries\n");
 out:
        return ret;
 }