]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/displayid: pass iter to drm_find_displayid_extension()
authorJani Nikula <jani.nikula@intel.com>
Tue, 28 Oct 2025 20:07:25 +0000 (22:07 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Jan 2026 11:57:26 +0000 (12:57 +0100)
commit149b97dc329533b20172cb7bc3f40c073d414801
tree7484bc434bdfba283d2bf8341fb2fa381b15593e
parentf9e805fa1fe8443af0d64a31e039554f3f0cbe5c
drm/displayid: pass iter to drm_find_displayid_extension()

commit 520f37c30992fd0c212a34fbe99c062b7a3dc52e upstream.

It's more convenient to pass iter than a handful of its members to
drm_find_displayid_extension(), especially as we're about to add another
member.

Rename the function find_next_displayid_extension() while at it, to be
more descriptive.

Cc: Tiago Martins Araújo <tiago.martins.araujo@gmail.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Tested-by: Tiago Martins Araújo <tiago.martins.araujo@gmail.com>
Cc: stable@vger.kernel.org
Link: https://patch.msgid.link/3837ae7f095e77a082ac2422ce2fac96c4f9373d.1761681968.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/drm_displayid.c