]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd31f4bc6371f66a9128a8e4257857b6a272b50b3
tree4e3c8ed73d21158e39ac92984cfb93fa294240f9
parent6481fa025d85357d111201ec675bf7e7bfc36ed7
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