diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2016-08-19 10:31:00 -0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-08-19 16:27:38 +0100 |
commit | f3d8ac8c4afea2014fbeb5f8e4c03d7fdffd623a (patch) | |
tree | 62a760839b466a131555467572f1707fb7cebaa0 /sound/soc/fsl/fsl_asrc.c | |
parent | 32101d00ac85a8a85431ce51e58acd6eb4184cf7 (diff) | |
download | lwn-f3d8ac8c4afea2014fbeb5f8e4c03d7fdffd623a.tar.gz lwn-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/fsl_asrc.c')
-rw-r--r-- | sound/soc/fsl/fsl_asrc.c | 2 |
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; |