ASoC: Add indirection for CODEC private data
[deliverable/linux.git] / sound / soc / codecs / cx20442.c
index e000cdfec1ec20550abe154c2939bad4365e0e7b..203e51f914895b75ca05d51155e68ae98405e7f4 100644 (file)
@@ -386,7 +386,7 @@ static int cx20442_register(struct cx20442_priv *cx20442)
 
        codec->name = "CX20442";
        codec->owner = THIS_MODULE;
-       codec->private_data = cx20442;
+       snd_soc_codec_set_drvdata(codec, cx20442);
 
        codec->dai = &cx20442_dai;
        codec->num_dai = 1;
This page took 0.049588 seconds and 5 git commands to generate.