iio: adc: ad9467: use the more common !val NULL check
authorNuno Sa <nuno.sa@analog.com>
Thu, 7 Dec 2023 12:39:30 +0000 (13:39 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 10 Dec 2023 11:41:01 +0000 (11:41 +0000)
commit8bdfa4a2fecf4d54b9157b1294970e7ff242f042
tree3abc343a88be18b9bb8a6c719b68d61dba56cf50
parent6dd3fa9fcc66cb71834dc2e0a222324af0d8b95d
iio: adc: ad9467: use the more common !val NULL check

Check !val instead of directing checking for NULL (val == NULL).
No functional changes intended.

Reviewed-by: David Lechner <dlechner@baylibre.com>
Signed-off-by: Nuno Sa <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20231207-iio-backend-prep-v2-7-a4a33bc4d70e@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad9467.c