mirror of
https://github.com/torvalds/linux.git
synced 2026-04-21 08:13:56 -04:00
All the places that use __to_intel_display() now get passed a struct intel_display pointer, and the transitional adaptation macro has served its purpose. Remove the macro. Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com> Link: https://lore.kernel.org/r/d2c4a5aab3d69cec6f0640eed157a97531bd72f2.1754499175.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
16 lines
350 B
C
16 lines
350 B
C
// SPDX-License-Identifier: MIT
|
|
/* Copyright © 2024 Intel Corporation */
|
|
|
|
#include "i915_drv.h"
|
|
#include "intel_display_conversion.h"
|
|
|
|
static struct intel_display *__i915_to_display(struct drm_i915_private *i915)
|
|
{
|
|
return i915->display;
|
|
}
|
|
|
|
struct intel_display *__drm_to_display(struct drm_device *drm)
|
|
{
|
|
return __i915_to_display(to_i915(drm));
|
|
}
|