drm: Move mode tables to drm_edid.c
authorThierry Reding <thierry.reding@avionic-design.de>
Fri, 23 Nov 2012 14:01:42 +0000 (15:01 +0100)
committerThierry Reding <thierry.reding@avionic-design.de>
Fri, 22 Feb 2013 07:20:00 +0000 (08:20 +0100)
The modes are only used from within drm_edid.c so we move them there to
avoid creating duplicates by multiple inclusion of drm_edid_modes.h. As
a side-effect we can also get rid of a few variables that keep track of
the number of entries in the tables and use ARRAY_SIZE() instead.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>

No differences found