drm/edid: make drm_edid_are_equal() more convenient for its single user
authorJani Nikula <jani.nikula@intel.com>
Tue, 16 Apr 2024 09:20:00 +0000 (12:20 +0300)
committerJani Nikula <jani.nikula@intel.com>
Wed, 17 Apr 2024 13:11:40 +0000 (16:11 +0300)
commit00c7a01085311f3230aaa5caac93bc49328129af
tree03f998b2bb5c19d49c35b05eed76bd9bc0ce4c26
parentd7bf5fcc2f8212b91cd33d91415f6a887761c32a
drm/edid: make drm_edid_are_equal() more convenient for its single user

Repurpose drm_edid_are_equal() to be more helpful for its single user,
and rename drm_edid_eq(). Functionally deduce the length from the blob
size, not the blob data, making it more robust against any errors.

Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/1011a285d30babce3aabd8218abb7ece7dcf58a2.1713259151.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/drm_edid.c