]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/display: use clk_off name to avoid double negation
authorLucas De Marchi <lucas.demarchi@intel.com>
Tue, 17 Dec 2019 23:05:28 +0000 (15:05 -0800)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 19 Dec 2019 01:53:16 +0000 (17:53 -0800)
commit91ac4b79e455dac8b0ce70d5499e5af189ad870e
tree5f6b91d9595b83b2b51c256404a4d23c72e2543a
parentdbd60bd5e4b3d18a43e3aa467a4ec712efbca9cc
drm/i915/display: use clk_off name to avoid double negation

Instead of "ungated" use the same name for the variable as the bitfield,
making it clearer what's the intent of the checks.

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Clinton Taylor <Clinton.A.Taylor@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191217230529.25092-2-lucas.demarchi@intel.com
drivers/gpu/drm/i915/display/intel_ddi.c