diff options
author | Eva Rachel Retuya <eraretuya@gmail.com> | 2016-02-27 12:39:24 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-12 06:09:09 (GMT) |
commit | 7586170c84de561c7bf05dd0df0c4bf9786417d5 (patch) | |
tree | a698c5792626b23e9aad5c0cdbff6d80f380f77c /drivers/dma/hsu | |
parent | eff8bf82432b6a3cd367e765a1806ebe3d1556e8 (diff) | |
download | linux-7586170c84de561c7bf05dd0df0c4bf9786417d5.tar.xz |
staging: rts5208: simplify NULL tests
Replace direct comparisons to NULL i.e. 'x == NULL' with '!x' for
consistency. Coccinelle semantic patch used:
@@
identifier func;
expression x;
statement Z;
@@
x = func(...);
if (
(
+ !
x
- == NULL
|
+ !
- NULL ==
x
)
) Z
Signed-off-by: Eva Rachel Retuya <eraretuya@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/dma/hsu')
0 files changed, 0 insertions, 0 deletions