drm/edid: clean up EDID block checksum functions
authorJani Nikula <jani.nikula@intel.com>
Thu, 31 Mar 2022 18:44:59 +0000 (21:44 +0300)
committerJani Nikula <jani.nikula@intel.com>
Fri, 1 Apr 2022 14:44:40 +0000 (17:44 +0300)
commit70e49ebe90033ae69831b311bd6cd0ad267ebec9
tree4e3c8ed73d21158e39ac92984cfb93fa294240f9
parente9a9e0768ba49d9cad3b698860af1842c53c717f
drm/edid: clean up EDID block checksum functions

Have two clear functions, one to compute the checksum over the EDID, and
another to get the checksum from the EDID. Throw away the diff function.

Ditch the drm_ prefix for static functions, and accept const void * to
help transition to struct edid * usage.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/36641401c8eb0e403c0e33365ff4ad9a28f9fd4a.1648752228.git.jani.nikula@intel.com
drivers/gpu/drm/drm_edid.c