diff options
author | Frank Rowand <frank.rowand@sony.com> | 2017-10-18 01:36:22 +0200 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2017-10-18 03:46:15 +0200 |
commit | bbed8794d53b7043d7989e22bc2e1e399da305eb (patch) | |
tree | 3a268571f05b0c7482986afd0d441578be92acb3 /Documentation/devicetree/overlay-notes.txt | |
parent | of: overlay.c: Remove comments that state the obvious, to reduce clutter (diff) | |
download | linux-bbed8794d53b7043d7989e22bc2e1e399da305eb.tar.xz linux-bbed8794d53b7043d7989e22bc2e1e399da305eb.zip |
of: overlay.c: Convert comparisons to zero or NULL to logical expressions
Use normal shorthand for comparing a variable to zero.
For variable "XXX":
convert (XXX == 0) to (!XXX)
convert (XXX != 0) to (XXX)
Signed-off-by: Frank Rowand <frank.rowand@sony.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/overlay-notes.txt')
0 files changed, 0 insertions, 0 deletions