summaryrefslogtreecommitdiffstats
path: root/sound/soc/fsl
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2016-08-19 15:31:00 +0200
committerMark Brown <broonie@kernel.org>2016-08-19 17:27:38 +0200
commitf3d8ac8c4afea2014fbeb5f8e4c03d7fdffd623a (patch)
tree62a760839b466a131555467572f1707fb7cebaa0 /sound/soc/fsl
parentASoC: fsl_asrc: Remove unneeded driver registration message (diff)
downloadlinux-f3d8ac8c4afea2014fbeb5f8e4c03d7fdffd623a.tar.xz
linux-f3d8ac8c4afea2014fbeb5f8e4c03d7fdffd623a.zip
ASoC: fsl_asrc: Use np variable
The 'np' variable is already assigned to 'pdev->dev.of_node', so use it to improve readability. No functional change. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/fsl')
-rw-r--r--sound/soc/fsl/fsl_asrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/fsl_asrc.c b/sound/soc/fsl/fsl_asrc.c
index 317e93aadfd2..b7157ce23479 100644
--- a/sound/soc/fsl/fsl_asrc.c
+++ b/sound/soc/fsl/fsl_asrc.c
@@ -879,7 +879,7 @@ static int fsl_asrc_probe(struct platform_device *pdev)
}
}
- if (of_device_is_compatible(pdev->dev.of_node, "fsl,imx35-asrc")) {
+ if (of_device_is_compatible(np, "fsl,imx35-asrc")) {
asrc_priv->channel_bits = 3;
clk_map[IN] = input_clk_map_imx35;
clk_map[OUT] = output_clk_map_imx35;