]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/cdclk: switch to new platform checks
authorJani Nikula <jani.nikula@intel.com>
Tue, 4 Feb 2025 13:42:27 +0000 (15:42 +0200)
committerJani Nikula <jani.nikula@intel.com>
Wed, 5 Feb 2025 17:53:56 +0000 (19:53 +0200)
commitf0453266763841585e6f7d9cb9cd3db18fbb5dbe
tree3922e3362b5428353be34b3a4e092e2af3062498
parentbb68ce5daf1ac73222afbe3f8fa7ad6edd150c72
drm/i915/cdclk: switch to new platform checks

Switch the IS_<PLATFORM>() checks to display->platform.<platform>, and
drop a number of struct drm_i915_private pointers in the process.

While at it, replace

/* NOOP */;

with
; /* NOOP */

to avoid a checkpatch warning on misleading indentation.

Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250204134228.2934744-2-jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_cdclk.c