Staging: iio: adc: Remove explicit NULL comparison
authorCristina Opriceana <cristina.opriceana@gmail.com>
Tue, 31 Mar 2015 10:04:07 +0000 (13:04 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Apr 2015 15:23:21 +0000 (17:23 +0200)
commitd3f31e87dbcc2c6d3a9cf28e1404cf43ef265ebe
tree822a4b66f87961e50f1002e4020ef264240cf20f
parent16d55be4cc694f76bff0cd99a8101e943e878d38
Staging: iio: adc: Remove explicit NULL comparison

This patch removes explicit NULL comparison and writes it in its
shorter form. Detected with coccinelle.

Signed-off-by: Cristina Opriceana <cristina.opriceana@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/adc/ad7606_ring.c
drivers/staging/iio/adc/ad7780.c