clk: tegra: Use NULL for pointer initialization
authorStephen Boyd <sboyd@kernel.org>
Wed, 25 Mar 2020 02:14:12 +0000 (19:14 -0700)
committerStephen Boyd <sboyd@kernel.org>
Wed, 25 Mar 2020 02:14:12 +0000 (19:14 -0700)
This silences a sparse warning about using a plain integer instead of
NULL for a pointer.

Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/tegra/clk-tegra210.c

index c6304f5e813eb531af84c4c143b9402c3bcd46cc..defe3b7ebfa499aa92ceef0cde30b08d3574649a 100644 (file)
@@ -2993,7 +2993,7 @@ static const char * const la_parents[] = {
 };
 
 static struct tegra_clk_periph tegra210_la =
-       TEGRA_CLK_PERIPH(29, 7, 9, 0, 8, 1, TEGRA_DIVIDER_ROUND_UP, 76, 0, NULL, 0);
+       TEGRA_CLK_PERIPH(29, 7, 9, 0, 8, 1, TEGRA_DIVIDER_ROUND_UP, 76, 0, NULL, NULL);
 
 static __init void tegra210_periph_clk_init(void __iomem *clk_base,
                                            void __iomem *pmc_base)