]> 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)
commitc01cd675b84183998a0a10bd0c1370bbb12c1531
tree4e3c8ed73d21158e39ac92984cfb93fa294240f9
parent84c47da4d1d6945b3cc14bef9d37ed60397b5400
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