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)
commita6b21831772db4088bca770dc99697356e82a7e2
tree14f91be2c87f35ec16af780a7bbd7170c874d13e
parent18316c8c39a85c8b6e3db0a150b1bee5b6c4c053
drm: Move mode tables to drm_edid.c

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>
drivers/gpu/drm/drm_edid.c
drivers/gpu/drm/drm_edid_modes.h [deleted file]