diff options
author | 2020-07-08 18:58:09 +0530 | |
---|---|---|
committer | 2020-07-13 12:15:46 +0530 | |
commit | 0ff35966d171ec99b118df666c1687cc86ba8d7e (patch) | |
tree | 8fc586a2e2214825c89aa4b23498bd76269affd0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | phy: exynos5-usbdrd: use correct format for structure description (diff) | |
download | wireguard-linux-0ff35966d171ec99b118df666c1687cc86ba8d7e.tar.xz wireguard-linux-0ff35966d171ec99b118df666c1687cc86ba8d7e.zip |
phy: stm32: use NULL instead of zero
devm_clk_get() and devm_reset_control_get() expect a const char *id for
the last arg, but a value of zero was provided. This results in below
sparse warning:
drivers/phy/st/phy-stm32-usbphyc.c:330:42: warning: Using plain integer as NULL pointer
drivers/phy/st/phy-stm32-usbphyc.c:343:52: warning: Using plain integer as NULL pointer
Instead of zero, use NULL
Reviewed-by: Amelie Delaunay <amelie.delaunay@st.com>
Link: https://lore.kernel.org/r/20200708132809.265967-6-vkoul@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions