Staging: iio: iio_dummy_evgen: Simplify NULL comparison
authorCristina Opriceana <cristina.opriceana@gmail.com>
Tue, 31 Mar 2015 09:51:10 +0000 (12:51 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Apr 2015 15:23:20 +0000 (17:23 +0200)
commit025c7da9eeba3a6c77ef9485a4c1c1a797dd7a4e
tree51d6606928217a92210dd0986afb8a1900e32f78
parentb72eb70209a0aac7651166d3f610ffb57b4c6e5f
Staging: iio: iio_dummy_evgen: Simplify NULL comparison

Remove explicit NULL comparison and write it in its simpler form.
Replacement done with coccinelle:

@replace_rule@
expression e;
@@

-e == NULL
+ !e

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