Unverified Commit 42432196 authored by Guennadi Liakhovetski's avatar Guennadi Liakhovetski Committed by Mark Brown
Browse files

ASoC: Intel: (cosmetic) simplify structure member access

parent ca841843
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -298,7 +298,7 @@ static int bdw_rt5650_probe(struct platform_device *pdev)
		return -ENOMEM;

	/* override plaform name, if required */
	mach = (&pdev->dev)->platform_data;
	mach = pdev->dev.platform_data;
	ret = snd_soc_fixup_dai_links_platform_name(&bdw_rt5650_card,
						    mach->mach_params.platform);

+1 −1
Original line number Diff line number Diff line
@@ -412,7 +412,7 @@ static int bdw_rt5677_probe(struct platform_device *pdev)
	}

	/* override plaform name, if required */
	mach = (&pdev->dev)->platform_data;
	mach = pdev->dev.platform_data;
	ret = snd_soc_fixup_dai_links_platform_name(&bdw_rt5677_card,
						    mach->mach_params.platform);
	if (ret)
+1 −1
Original line number Diff line number Diff line
@@ -283,7 +283,7 @@ static int broadwell_audio_probe(struct platform_device *pdev)
	broadwell_rt286.dev = &pdev->dev;

	/* override plaform name, if required */
	mach = (&pdev->dev)->platform_data;
	mach = pdev->dev.platform_data;
	ret = snd_soc_fixup_dai_links_platform_name(&broadwell_rt286,
						    mach->mach_params.platform);
	if (ret)
+1 −1
Original line number Diff line number Diff line
@@ -721,7 +721,7 @@ static int broxton_audio_probe(struct platform_device *pdev)
	}

	/* override plaform name, if required */
	mach = (&pdev->dev)->platform_data;
	mach = pdev->dev.platform_data;
	platform_name = mach->mach_params.platform;

	ret = snd_soc_fixup_dai_links_platform_name(&broxton_audio_card,
+1 −1
Original line number Diff line number Diff line
@@ -627,7 +627,7 @@ static int broxton_audio_probe(struct platform_device *pdev)
	snd_soc_card_set_drvdata(card, ctx);

	/* override plaform name, if required */
	mach = (&pdev->dev)->platform_data;
	mach = pdev->dev.platform_data;
	platform_name = mach->mach_params.platform;

	ret = snd_soc_fixup_dai_links_platform_name(card,
Loading