diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2016-08-19 15:31:00 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-08-19 17:27:38 +0200 |
commit | f3d8ac8c4afea2014fbeb5f8e4c03d7fdffd623a (patch) | |
tree | 62a760839b466a131555467572f1707fb7cebaa0 /sound/soc/fsl | |
parent | ASoC: fsl_asrc: Remove unneeded driver registration message (diff) | |
download | linux-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.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; |