summaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/boards/bytcht_da7213.c
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>2020-03-12 14:48:56 -0500
committerMark Brown <broonie@kernel.org>2020-03-13 15:44:54 +0000
commit42432196cfb01500ec058e8acc8dcfcf27eb76c9 (patch)
tree832ae516f56a7c9b072de806942267456abd397f /sound/soc/intel/boards/bytcht_da7213.c
parentca841843a3a8038494e48968c2fd1c7ec5473ce3 (diff)
downloadlinux-stable-42432196cfb01500ec058e8acc8dcfcf27eb76c9.tar.gz
linux-stable-42432196cfb01500ec058e8acc8dcfcf27eb76c9.tar.bz2
linux-stable-42432196cfb01500ec058e8acc8dcfcf27eb76c9.zip
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>
Diffstat (limited to 'sound/soc/intel/boards/bytcht_da7213.c')
-rw-r--r--sound/soc/intel/boards/bytcht_da7213.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/boards/bytcht_da7213.c b/sound/soc/intel/boards/bytcht_da7213.c
index eda7a500cad6..d6b912c013fc 100644
--- a/sound/soc/intel/boards/bytcht_da7213.c
+++ b/sound/soc/intel/boards/bytcht_da7213.c
@@ -231,7 +231,7 @@ static int bytcht_da7213_probe(struct platform_device *pdev)
int ret_val = 0;
int i;
- mach = (&pdev->dev)->platform_data;
+ mach = pdev->dev.platform_data;
card = &bytcht_da7213_card;
card->dev = &pdev->dev;