]> git.baikalelectronics.ru Git - kernel.git/commit
clk: tegra: Fix a bunch of sparse warnings
authorThierry Reding <treding@nvidia.com>
Mon, 21 Jul 2014 11:16:36 +0000 (13:16 +0200)
committerThierry Reding <treding@nvidia.com>
Fri, 10 Apr 2015 14:03:41 +0000 (16:03 +0200)
commit55830b47b4cfaaebf710628c1e450d113ece36d9
tree1075a75658d746090f37759c24c6cf613ac73017
parent39e625de87b74455b215843a0eb3405df9cb95a1
clk: tegra: Fix a bunch of sparse warnings

The second to last parameter of the TEGRA_CLK_PERIPH macro denotes a
table and should therefore users should pass in NULL instead of 0.

Fixes a bunch of sparse warnings like this:

warning: Using plain integer as NULL pointer

Reviewed-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/clk/tegra/clk-tegra-periph.c