aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/da7210.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/da7210.c')
-rw-r--r--sound/soc/codecs/da7210.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/da7210.c b/sound/soc/codecs/da7210.c
index 35b881638658..89cea32f9424 100644
--- a/sound/soc/codecs/da7210.c
+++ b/sound/soc/codecs/da7210.c
@@ -460,7 +460,7 @@ static int da7210_init(struct da7210_priv *da7210)
460 INIT_LIST_HEAD(&codec->dapm_widgets); 460 INIT_LIST_HEAD(&codec->dapm_widgets);
461 INIT_LIST_HEAD(&codec->dapm_paths); 461 INIT_LIST_HEAD(&codec->dapm_paths);
462 462
463 codec->private_data = da7210; 463 snd_soc_codec_set_drvdata(codec, da7210);
464 codec->name = "DA7210"; 464 codec->name = "DA7210";
465 codec->owner = THIS_MODULE; 465 codec->owner = THIS_MODULE;
466 codec->read = da7210_read; 466 codec->read = da7210_read;