1
0
Fork 0

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>
steinar/wifi_calib_4_9_kernel
Fabio Estevam 2016-08-19 10:31:00 -03:00 committed by Mark Brown
parent 32101d00ac
commit f3d8ac8c4a
1 changed files with 1 additions and 1 deletions

View File

@ -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;