|
@@ -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)
|