diff options
author | Cristina Opriceana <cristina.opriceana@gmail.com> | 2015-03-31 13:04:29 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-04-01 18:23:21 +0300 |
commit | aa5587f3cb9fde2db852b5549ee561198aa95748 (patch) | |
tree | ed76c4b30c4ec85ffbc375509959c50b6e743567 /drivers/iio | |
parent | d3f31e87dbcc2c6d3a9cf28e1404cf43ef265ebe (diff) | |
download | linux-aa5587f3cb9fde2db852b5549ee561198aa95748.tar.xz |
Staging: iio: accel: Remove explicit NULL comparison
This patch removes explicit NULL comparison and writes it in its
equivalent shorter form. 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>
Diffstat (limited to 'drivers/iio')
0 files changed, 0 insertions, 0 deletions