Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: shmobile: fix sparse NULL pointer warning

Fixes the following sparse warnings:

drivers/clk/shmobile/clk-sh73a0.c:57:17: warning:
Using plain integer as NULL pointer

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>

authored by

Wei Yongjun and committed by
Simon Horman
16bd794f 09bd745b

+1 -1
+1 -1
drivers/clk/shmobile/clk-sh73a0.c
··· 54 54 { "m2", "pll1", CPG_FRQCRA, 0 }, 55 55 { "zx", "pll1", CPG_FRQCRB, 12 }, 56 56 { "hp", "pll1", CPG_FRQCRB, 4 }, 57 - { NULL, 0, 0, 0 }, 57 + { NULL, NULL, 0, 0 }, 58 58 }; 59 59 60 60 static const struct clk_div_table div4_div_table[] = {