drm/edid: new drm_edid_block_checksum helper function V3
authorStefan Brüns <stefan.bruens@rwth-aachen.de>
Sun, 30 Nov 2014 18:57:43 +0000 (19:57 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 1 Dec 2014 16:20:22 +0000 (17:20 +0100)
commitc465bbc87ce372088935b2a9792d4152b466f7fb
tree166935e8864506cfeb5ce581933d68f02f3811f6
parentda4c07b727dd00f28840c3ee26510ad58001a6b8
drm/edid: new drm_edid_block_checksum helper function V3

The function will also be used by a later patch, so factor it out.

V2: make raw_edid const, define/declare before first use
V3: fix erroneuos removal of csum variable

Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_edid.c