[PATCH] i2c: npcm7xx: Use NULL instead of 0 for pointer

Andi Shyti andi.shyti at kernel.org
Fri Mar 20 10:15:10 AEDT 2026


Hi Krzysztof,

On Mon, Feb 16, 2026 at 09:58:26AM +0100, Krzysztof Kozlowski wrote:
> Pointers should use NULL instead of explicit '0', as pointed out by
> sparse:
> 
>   i2c-npcm7xx.c:1387:61: warning: Using plain integer as NULL pointer
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at oss.qualcomm.com>

merged to i2c/i2c-host.

Thanks,
Andi


More information about the openbmc mailing list