diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-01-24 04:21:17 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-01-24 05:55:16 -0500 |
commit | ecb2c174346f9e1b2cb671b261a16f1b9aaa66c4 (patch) | |
tree | 56a97ac23f794f5d1324ecd3061e46a4c41081da | |
parent | d58579e3c3f8b6ce623de0ca26580375852b574f (diff) |
ASoC: tegra: Use NULL instead of 0 for pointers
Fixes the following sparse warnings:
sound/soc/tegra/tegra30_ahub.c:583:16: warning:
Using plain integer as NULL pointer
sound/soc/tegra/tegra30_ahub.c:600:16: warning:
Using plain integer as NULL pointer
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r-- | sound/soc/tegra/tegra30_ahub.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/tegra/tegra30_ahub.c b/sound/soc/tegra/tegra30_ahub.c index f354dc390a0b..dd146f10fef2 100644 --- a/sound/soc/tegra/tegra30_ahub.c +++ b/sound/soc/tegra/tegra30_ahub.c | |||
@@ -580,7 +580,7 @@ err_clk_put_apbif: | |||
580 | clk_put(ahub->clk_apbif); | 580 | clk_put(ahub->clk_apbif); |
581 | err_clk_put_d_audio: | 581 | err_clk_put_d_audio: |
582 | clk_put(ahub->clk_d_audio); | 582 | clk_put(ahub->clk_d_audio); |
583 | ahub = 0; | 583 | ahub = NULL; |
584 | err: | 584 | err: |
585 | return ret; | 585 | return ret; |
586 | } | 586 | } |
@@ -597,7 +597,7 @@ static int tegra30_ahub_remove(struct platform_device *pdev) | |||
597 | clk_put(ahub->clk_apbif); | 597 | clk_put(ahub->clk_apbif); |
598 | clk_put(ahub->clk_d_audio); | 598 | clk_put(ahub->clk_d_audio); |
599 | 599 | ||
600 | ahub = 0; | 600 | ahub = NULL; |
601 | 601 | ||
602 | return 0; | 602 | return 0; |
603 | } | 603 | } |