edid: Use sizeof() in cea_is_hdmi_vsdb_present()
authorSimon Glass <sjg@chromium.org>
Wed, 7 Jun 2017 16:28:39 +0000 (10:28 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 12 Jun 2017 12:38:06 +0000 (08:38 -0400)
commit66a1b30d14566676293ba4010a0d592adc61ce95
treed851948434d7121c86f5d160bb0ad390e73e8086
parent1a596c44c0967b3191ee278f988d14d6082249e1
edid: Use sizeof() in cea_is_hdmi_vsdb_present()

We should not use an open-coded value here. Use sizeof() instead.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reported-by: Coverity (CID: 163252)
Fixes: 43c6bdd0 (edid: Add HDMI flag to timing info)
common/edid.c