Commit f3d8ac8c authored by Fabio Estevam's avatar Fabio Estevam Committed by Mark Brown

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: default avatarFabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 32101d00
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment