]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: armada-37xx: stop using 0 as NULL pointer
authorMiles Chen <miles.chen@mediatek.com>
Tue, 10 Jan 2023 03:12:52 +0000 (11:12 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Feb 2023 06:52:41 +0000 (07:52 +0100)
commit64ba54f797aacd79d9a7956b981d387c46ef8260
treef85a60ad0e7da46d6d174c7e1fab7fec6e8e2b1f
parent32e3f436bbc93cf4e85720dc6867fe532dda7d5d
cpufreq: armada-37xx: stop using 0 as NULL pointer

[ Upstream commit 08f0adb193c008de640fde34a2e00a666c01d77c ]

Use NULL for NULL pointer to fix the following sparse warning:
drivers/cpufreq/armada-37xx-cpufreq.c:448:32: sparse: warning: Using plain integer as NULL pointer

Signed-off-by: Miles Chen <miles.chen@mediatek.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/cpufreq/armada-37xx-cpufreq.c