videomode: remove timing_entry_index
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 12 Mar 2013 08:35:16 +0000 (10:35 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 12 Mar 2013 13:46:52 +0000 (15:46 +0200)
commit694f050650798b82f2c7b9983e80117d58b34bf3
tree4d0591ecc0d83fb36bf2a3a3345a4fba7508b565
parent32ed6ef133f95f960d19e3f3b30246aebf8ecd36
videomode: remove timing_entry_index

Display timing's fields have minimum, typical and maximum values. These
can be accessed by using timing_entry_index enum, and
display_timing_get_value() function.

There's no real need for this extra complexity. The values can be
accessed more easily by just using the min/typ/max fields.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: Steffen Trumtrar <s.trumtrar@pengutronix.de>
drivers/video/videomode.c
include/video/display_timing.h