]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
spi: stm32: Use NULL instead of 0 for pointer
authorKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Mon, 16 Feb 2026 08:58:17 +0000 (09:58 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 23 Feb 2026 12:17:54 +0000 (12:17 +0000)
commit5e897a498a6b45145350e9de5e4753e9eee7d4f6
treea094d39d40fde329599790f36ea4ee015a3dc3b5
parent52531750d39b94803e089dda95e43925730c03bd
spi: stm32: Use NULL instead of 0 for pointer

Pointers should use NULL instead of explicit '0', as pointed out by
sparse:

  spi-stm32.c:1659:65: warning: Using plain integer as NULL pointer

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://patch.msgid.link/20260216085816.69888-2-krzysztof.kozlowski@oss.qualcomm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-stm32.c