ASoC: Intel: (cosmetic) simplify structure member access
Fix a clumsy structure member dereference in all machine drivers. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20200312194859.4051-8-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:

committed by
Mark Brown

szülő
ca841843a3
commit
42432196cf
@@ -604,7 +604,7 @@ static int sof_audio_probe(struct platform_device *pdev)
|
||||
|
||||
dmi_check_system(sof_rt5682_quirk_table);
|
||||
|
||||
mach = (&pdev->dev)->platform_data;
|
||||
mach = pdev->dev.platform_data;
|
||||
|
||||
/* A speaker amp might not be present when the quirk claims one is.
|
||||
* Detect this via whether the machine driver match includes quirk_data.
|
||||
|
Reference in New Issue
Block a user