diff options
author | Stephen Boyd <sboyd@kernel.org> | 2020-03-25 03:14:12 +0100 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2020-03-25 03:14:12 +0100 |
commit | ba0eb9d57a3781a450b8b5eb15c497cccb18ee45 (patch) | |
tree | 1202d505369bfe7b6f40abd77a6a7158084ca7f7 | |
parent | Merge tag 'for-5.7-clk' of git://git.kernel.org/pub/scm/linux/kernel/git/tegr... (diff) | |
download | linux-ba0eb9d57a3781a450b8b5eb15c497cccb18ee45.tar.xz linux-ba0eb9d57a3781a450b8b5eb15c497cccb18ee45.zip |
clk: tegra: Use NULL for pointer initialization
This silences a sparse warning about using a plain integer instead of
NULL for a pointer.
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
-rw-r--r-- | drivers/clk/tegra/clk-tegra210.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/tegra/clk-tegra210.c b/drivers/clk/tegra/clk-tegra210.c index c6304f5e813e..defe3b7ebfa4 100644 --- a/drivers/clk/tegra/clk-tegra210.c +++ b/drivers/clk/tegra/clk-tegra210.c @@ -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) |