summaryrefslogtreecommitdiff
path: root/sound/soc/samsung/odroidx2_max98090.c
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2014-11-09 14:38:56 +0300
committerMark Brown <broonie@kernel.org>2014-11-10 22:02:02 +0300
commit0099c762855eeee8d3eacc11fcc1e0819e77b2ed (patch)
tree8a51c1ab4b6030f348961bb2c252ce6b9d4d8ee3 /sound/soc/samsung/odroidx2_max98090.c
parent4476159f0b73e58e8c4d750ce03843d70c13994c (diff)
downloadlinux-0099c762855eeee8d3eacc11fcc1e0819e77b2ed.tar.xz
ASoC: simple-card: Remove useless casts
There is no need to cast the cpu_of_node or codec_of_node of the dai_links when calling of_put_node. Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/samsung/odroidx2_max98090.c')
-rw-r--r--sound/soc/samsung/odroidx2_max98090.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/samsung/odroidx2_max98090.c b/sound/soc/samsung/odroidx2_max98090.c
index 3c8f60423e82..d7640e72cb1d 100644
--- a/sound/soc/samsung/odroidx2_max98090.c
+++ b/sound/soc/samsung/odroidx2_max98090.c
@@ -153,8 +153,8 @@ static int odroidx2_audio_remove(struct platform_device *pdev)
snd_soc_unregister_card(card);
- of_node_put((struct device_node *)odroidx2_dai[0].cpu_of_node);
- of_node_put((struct device_node *)odroidx2_dai[0].codec_of_node);
+ of_node_put(odroidx2_dai[0].cpu_of_node);
+ of_node_put(odroidx2_dai[0].codec_of_node);
return 0;
}