commit | 4a1e81bc5dbecb28c33851e8e571d2127462910d | [log] [tgz] |
---|---|---|
author | Eva Rachel Retuya <eraretuya@gmail.com> | Sat Feb 27 20:39:22 2016 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Mar 11 22:09:09 2016 -0800 |
tree | 8ec07393f8c779a7f2fee670294dffe103410689 | |
parent | 3b7a3dac9204d1f1b5e7c314dbacb372a93b7c99 [diff] |
staging: [media] mn88472: 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>