OSDN Git Service

staging: rts5208: Change form of NULL comparisons
authorBhaktipriya Shridhar <bhaktipriya96@gmail.com>
Sat, 5 Mar 2016 21:09:51 +0000 (02:39 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Mar 2016 06:09:09 +0000 (22:09 -0800)
commite6e1d57e080583da7aa851aca40369f1851dec57
treed539803eb2ea63fb12d16746b68c98483b499962
parentb242d05fa3ec5baf83f7a51c7c58757fcf36e321
staging: rts5208: Change form of NULL comparisons

Change null comparisons of the form x == NULL to !x.
This was done using Coccinelle.

@@
expression e;
@@
- e == NULL
+ !e

Signed-off-by: Bhaktipriya Shridhar <bhaktipriya96@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rts5208/ms.c