projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32101d0
)
ASoC: fsl_asrc: Use np variable
author
Fabio Estevam
<fabio.estevam@nxp.com>
Fri, 19 Aug 2016 13:31:00 +0000
(10:31 -0300)
committer
Mark Brown
<broonie@kernel.org>
Fri, 19 Aug 2016 15:27:38 +0000
(16:27 +0100)
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>
sound/soc/fsl/fsl_asrc.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/fsl/fsl_asrc.c
b/sound/soc/fsl/fsl_asrc.c
index 317e93aadfd2a5a3e97b6a9e381a07e59e00b13e..b7157ce23479d332f12d4d5ae2a648ce31f6c49d 100644
(file)
--- 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;