Tag: 025c7da9eeba3a6c77ef9485a4c1c1a797dd7a4e

Staging: iio: iio_dummy_evgen: Simplify NULL comparison

Author: Cristina Opriceana <cristina.opriceana@gmail.com> 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 Signed-off-by: Greg Kroah-Hartman — drivers/staging/iio/iio_dummy_evgen.c | 4 ++– 1 file changed, 2 insertions(+), 2 deletions(-)   diff –git a/drivers/staging/iio/iio_dummy_evgen.c b/drivers/staging/iio/iio_dummy_evgen.c index 59ad5a3..0c9c86d 100644 — …

Continue reading