Skip to content

Commit

Permalink
clk: samsung: Silence sparse warnings
Browse files Browse the repository at this point in the history
drivers/clk/samsung/clk-exynos5260.c:138:40: warning: Using plain integer as NULL pointer
drivers/clk/samsung/clk-exynos5260.c:328:40: warning: Using plain integer as NULL pointer
drivers/clk/samsung/clk-exynos5260.c:392:40: warning: Using plain integer as NULL pointer
drivers/clk/samsung/clk-exynos5260.c:494:40: warning: Using plain integer as NULL pointer
drivers/clk/samsung/clk-exynos5260.c:583:40: warning: Using plain integer as NULL pointer
drivers/clk/samsung/clk-exynos5260.c:644:40: warning: Using plain integer as NULL pointer
drivers/clk/samsung/clk-exynos5260.c:779:40: warning: Using plain integer as NULL pointer
drivers/clk/samsung/clk-exynos5260.c:898:40: warning: Using plain integer as NULL pointer
drivers/clk/samsung/clk-exynos5260.c:962:40: warning: Using plain integer as NULL pointer
drivers/clk/samsung/clk-exynos5260.c:1018:40: warning: Using plain integer as NULL pointer
drivers/clk/samsung/clk-exynos5260.c:1165:40: warning: Using plain integer as NULL pointer
drivers/clk/samsung/clk-exynos5260.c:1373:40: warning: Using plain integer as NULL pointer
drivers/clk/samsung/clk-exynos5260.c:1829:40: warning: Using plain integer as NULL pointer

Acked-by: Sylwester Nawrocki <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
  • Loading branch information
bebarino committed May 15, 2015
1 parent 4a77f81 commit f6704f9
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions drivers/clk/samsung/clk-exynos5260.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ static struct samsung_gate_clock aud_gate_clks[] __initdata = {

static void __init exynos5260_clk_aud_init(struct device_node *np)
{
struct samsung_cmu_info cmu = {0};
struct samsung_cmu_info cmu = { NULL };

cmu.mux_clks = aud_mux_clks;
cmu.nr_mux_clks = ARRAY_SIZE(aud_mux_clks);
Expand Down Expand Up @@ -325,7 +325,7 @@ static struct samsung_gate_clock disp_gate_clks[] __initdata = {

static void __init exynos5260_clk_disp_init(struct device_node *np)
{
struct samsung_cmu_info cmu = {0};
struct samsung_cmu_info cmu = { NULL };

cmu.mux_clks = disp_mux_clks;
cmu.nr_mux_clks = ARRAY_SIZE(disp_mux_clks);
Expand Down Expand Up @@ -389,7 +389,7 @@ static struct samsung_pll_clock egl_pll_clks[] __initdata = {

static void __init exynos5260_clk_egl_init(struct device_node *np)
{
struct samsung_cmu_info cmu = {0};
struct samsung_cmu_info cmu = { NULL };

cmu.pll_clks = egl_pll_clks;
cmu.nr_pll_clks = ARRAY_SIZE(egl_pll_clks);
Expand Down Expand Up @@ -491,7 +491,7 @@ static struct samsung_gate_clock fsys_gate_clks[] __initdata = {

static void __init exynos5260_clk_fsys_init(struct device_node *np)
{
struct samsung_cmu_info cmu = {0};
struct samsung_cmu_info cmu = { NULL };

cmu.mux_clks = fsys_mux_clks;
cmu.nr_mux_clks = ARRAY_SIZE(fsys_mux_clks);
Expand Down Expand Up @@ -580,7 +580,7 @@ static struct samsung_gate_clock g2d_gate_clks[] __initdata = {

static void __init exynos5260_clk_g2d_init(struct device_node *np)
{
struct samsung_cmu_info cmu = {0};
struct samsung_cmu_info cmu = { NULL };

cmu.mux_clks = g2d_mux_clks;
cmu.nr_mux_clks = ARRAY_SIZE(g2d_mux_clks);
Expand Down Expand Up @@ -641,7 +641,7 @@ static struct samsung_pll_clock g3d_pll_clks[] __initdata = {

static void __init exynos5260_clk_g3d_init(struct device_node *np)
{
struct samsung_cmu_info cmu = {0};
struct samsung_cmu_info cmu = { NULL };

cmu.pll_clks = g3d_pll_clks;
cmu.nr_pll_clks = ARRAY_SIZE(g3d_pll_clks);
Expand Down Expand Up @@ -776,7 +776,7 @@ static struct samsung_gate_clock gscl_gate_clks[] __initdata = {

static void __init exynos5260_clk_gscl_init(struct device_node *np)
{
struct samsung_cmu_info cmu = {0};
struct samsung_cmu_info cmu = { NULL };

cmu.mux_clks = gscl_mux_clks;
cmu.nr_mux_clks = ARRAY_SIZE(gscl_mux_clks);
Expand Down Expand Up @@ -895,7 +895,7 @@ static struct samsung_gate_clock isp_gate_clks[] __initdata = {

static void __init exynos5260_clk_isp_init(struct device_node *np)
{
struct samsung_cmu_info cmu = {0};
struct samsung_cmu_info cmu = { NULL };

cmu.mux_clks = isp_mux_clks;
cmu.nr_mux_clks = ARRAY_SIZE(isp_mux_clks);
Expand Down Expand Up @@ -959,7 +959,7 @@ static struct samsung_pll_clock kfc_pll_clks[] __initdata = {

static void __init exynos5260_clk_kfc_init(struct device_node *np)
{
struct samsung_cmu_info cmu = {0};
struct samsung_cmu_info cmu = { NULL };

cmu.pll_clks = kfc_pll_clks;
cmu.nr_pll_clks = ARRAY_SIZE(kfc_pll_clks);
Expand Down Expand Up @@ -1015,7 +1015,7 @@ static struct samsung_gate_clock mfc_gate_clks[] __initdata = {

static void __init exynos5260_clk_mfc_init(struct device_node *np)
{
struct samsung_cmu_info cmu = {0};
struct samsung_cmu_info cmu = { NULL };

cmu.mux_clks = mfc_mux_clks;
cmu.nr_mux_clks = ARRAY_SIZE(mfc_mux_clks);
Expand Down Expand Up @@ -1162,7 +1162,7 @@ static struct samsung_pll_clock mif_pll_clks[] __initdata = {

static void __init exynos5260_clk_mif_init(struct device_node *np)
{
struct samsung_cmu_info cmu = {0};
struct samsung_cmu_info cmu = { NULL };

cmu.pll_clks = mif_pll_clks;
cmu.nr_pll_clks = ARRAY_SIZE(mif_pll_clks);
Expand Down Expand Up @@ -1370,7 +1370,7 @@ static struct samsung_gate_clock peri_gate_clks[] __initdata = {

static void __init exynos5260_clk_peri_init(struct device_node *np)
{
struct samsung_cmu_info cmu = {0};
struct samsung_cmu_info cmu = { NULL };

cmu.mux_clks = peri_mux_clks;
cmu.nr_mux_clks = ARRAY_SIZE(peri_mux_clks);
Expand Down Expand Up @@ -1826,7 +1826,7 @@ static struct samsung_pll_clock top_pll_clks[] __initdata = {

static void __init exynos5260_clk_top_init(struct device_node *np)
{
struct samsung_cmu_info cmu = {0};
struct samsung_cmu_info cmu = { NULL };

cmu.pll_clks = top_pll_clks;
cmu.nr_pll_clks = ARRAY_SIZE(top_pll_clks);
Expand Down

0 comments on commit f6704f9

Please sign in to comment.