iio: adc: at91-sama5d2: Replace 0 with NULL when clearing some pointers.
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 13 Oct 2019 08:57:23 +0000 (09:57 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Fri, 18 Oct 2019 18:48:45 +0000 (19:48 +0100)
commit5617f22b236d62e3d5beefa2fea3334ccb8656d3
tree58a55efb4964d762fee6cd9a804b1568f21f0e86
parentc5d550fb6e126a73247d4a98d6314a84f4805b98
iio: adc: at91-sama5d2: Replace 0 with NULL when clearing some pointers.

Cleans up the sparse warning:

CHECK   drivers/iio/adc/at91-sama5d2_adc.c
drivers/iio/adc/at91-sama5d2_adc.c:1486:31: warning: Using plain integer as NULL pointer
drivers/iio/adc/at91-sama5d2_adc.c:1509:31: warning: Using plain integer as NULL pointer

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Eugen Hristev <eugen.hristev@microchip.com>
drivers/iio/adc/at91-sama5d2_adc.c