]> git.karo-electronics.de Git - linux-beck.git/commit
staging: iio: adc: remove explicit comparison to NULL
authorIoana Ciornei <ciorneiioana@gmail.com>
Wed, 14 Oct 2015 18:14:14 +0000 (21:14 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Oct 2015 05:47:28 +0000 (22:47 -0700)
commit603f102f7887e742ae85939dad80e868c2e64885
tree1f2fba74e3f75282e23891fbcbd96af84298d565
parente8ef49f09b26a4c11ad846ef1afa2a726a8c6800
staging: iio: adc: remove explicit comparison to NULL

Use !condition instead off condition == NULL when comparing with NULL

Signed-off-by: Ioana Ciornei <ciorneiioana@gmail.com>
Reviewed-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/adc/ad7192.c
drivers/staging/iio/adc/ad7280a.c
drivers/staging/iio/adc/mxs-lradc.c