Skip to content

Commit

Permalink
clk: tegra: Use NULL for pointer initialization
Browse files Browse the repository at this point in the history
This silences a sparse warning about using a plain integer instead of
NULL for a pointer.

Signed-off-by: Stephen Boyd <sboyd@kernel.org>
  • Loading branch information
Stephen Boyd committed Mar 25, 2020
1 parent 37a9488 commit ba0eb9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/clk/tegra/clk-tegra210.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ba0eb9d

Please sign in to comment.