]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/i915/display: change probe for no display case
authorJani Nikula <jani.nikula@intel.com>
Wed, 22 May 2024 17:33:39 +0000 (20:33 +0300)
committerJani Nikula <jani.nikula@intel.com>
Fri, 31 May 2024 07:11:18 +0000 (10:11 +0300)
commitae6daede02d2a31171fd20887363e59f4aec3768
tree5cc2b52309f18bb7c084691b940e2a56dd4ab33f
parent54698865addac97faa8dea4e07be838219128186
drm/i915/display: change probe for no display case

Return NULL for errors, and handle the no display case in one
location. This will make subsequent changes easier.

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