summaryrefslogtreecommitdiff
path: root/sound/soc/blackfin/bf5xx-ac97.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-07-13 00:50:26 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-07-13 15:33:59 +0400
commit8ff23610a6c2ec8abaab6ae14d9ed8f59c1f944c (patch)
tree1c4d1e0fb468d72a014b72c7265f7d6ea28781db /sound/soc/blackfin/bf5xx-ac97.c
parent4d53952a396d7fcde295b6eedee1f588dfb8464c (diff)
downloadlinux-8ff23610a6c2ec8abaab6ae14d9ed8f59c1f944c.tar.xz
ASoC: Remove unnecessary casts of private_data
Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/blackfin/bf5xx-ac97.c')
-rw-r--r--sound/soc/blackfin/bf5xx-ac97.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sound/soc/blackfin/bf5xx-ac97.c b/sound/soc/blackfin/bf5xx-ac97.c
index 523b7fc33f4e..c0eba5109980 100644
--- a/sound/soc/blackfin/bf5xx-ac97.c
+++ b/sound/soc/blackfin/bf5xx-ac97.c
@@ -255,8 +255,7 @@ EXPORT_SYMBOL_GPL(soc_ac97_ops);
#ifdef CONFIG_PM
static int bf5xx_ac97_suspend(struct snd_soc_dai *dai)
{
- struct sport_device *sport =
- (struct sport_device *)dai->private_data;
+ struct sport_device *sport = dai->private_data;
pr_debug("%s : sport %d\n", __func__, dai->id);
if (!dai->active)
@@ -271,8 +270,7 @@ static int bf5xx_ac97_suspend(struct snd_soc_dai *dai)
static int bf5xx_ac97_resume(struct snd_soc_dai *dai)
{
int ret;
- struct sport_device *sport =
- (struct sport_device *)dai->private_data;
+ struct sport_device *sport = dai->private_data;
pr_debug("%s : sport %d\n", __func__, dai->id);
if (!dai->active)