]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/i915/gt: Prefer IS_ENABLED() instead of defined() on config option
authorNitin Gote <nitin.r.gote@intel.com>
Fri, 3 Jan 2025 06:26:51 +0000 (11:56 +0530)
committerAndi Shyti <andi.shyti@linux.intel.com>
Thu, 9 Jan 2025 12:43:16 +0000 (13:43 +0100)
commit6f0572fa8fd6758f7a0ed2e96b429cb5b4323e12
treea7f06185ed1ab07025fe227a54d331651094aec5
parentd6b24cc3e267c11c3965a052bf07dd24a8ee07af
drm/i915/gt: Prefer IS_ENABLED() instead of defined() on config option

Use IS_ENABLED() instead of defined() for checking whether a kconfig
option is enabled.

Signed-off-by: Nitin Gote <nitin.r.gote@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250103062651.798249-2-nitin.r.gote@intel.com
drivers/gpu/drm/i915/gt/uc/intel_guc_log.c