[PATCH 2/2] videomode: implement public of_get_display_timing()

2013-05-16 Thread Tomi Valkeinen
The current of_get_display_timings() reads multiple display timings, allocating memory for the entries. However, most of the time when parsing display timings from DT data is needed, there's only one display timing as it's not common for a LCD panel to support multiple videomodes. This patch creat

[PATCH 2/2] videomode: implement public of_get_display_timing()

2013-05-16 Thread Tomi Valkeinen
The current of_get_display_timings() reads multiple display timings, allocating memory for the entries. However, most of the time when parsing display timings from DT data is needed, there's only one display timing as it's not common for a LCD panel to support multiple videomodes. This patch creat