diff options
author | Frank Rowand <frank.rowand@sony.com> | 2017-10-17 16:36:22 -0700 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2017-10-17 20:46:15 -0500 |
commit | bbed8794d53b7043d7989e22bc2e1e399da305eb (patch) | |
tree | 3a268571f05b0c7482986afd0d441578be92acb3 /drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c | |
parent | 646afc4ad7f01d582d00e43a4f35b1ebdb70cb4e (diff) | |
download | op-kernel-dev-bbed8794d53b7043d7989e22bc2e1e399da305eb.zip op-kernel-dev-bbed8794d53b7043d7989e22bc2e1e399da305eb.tar.gz |
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 'drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c')
0 files changed, 0 insertions, 0 deletions