Staging: iio: Remove explicit comparison to NULL
authorCristina Opriceana <cristina.opriceana@gmail.com>
Sat, 14 Mar 2015 18:50:48 +0000 (20:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Mar 2015 15:14:05 +0000 (16:14 +0100)
commit6970791fd5683a893bc11bb4722b82d899013465
treeb58763b544acdfd920f774f45479fbbac36f432b
parent56cc3b629b43c0a5a3d9cb5599e92a3146eff19e
Staging: iio: Remove explicit comparison to NULL

This patch simplifies pointer comparison to NULL and makes code
easier to read. Warning found by checkpatch.pl.

Signed-off-by: Cristina Opriceana <cristina.opriceana@gmail.com>
Reviewed-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/frequency/ad9832.c
drivers/staging/iio/frequency/ad9834.c