summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/opp2420_data.c
diff options
context:
space:
mode:
authorArchit Taneja2011-04-18 06:02:13 +0200
committerTomi Valkeinen2011-05-11 13:20:11 +0200
commit179e045369a36c67d590463548749cacc53c9d85 (patch)
tree87ee44a583298da36789cf4e6920e670bdc9dfd2 /arch/arm/mach-omap2/opp2420_data.c
parentOMAP: DSS2: improve clock debugfs output (diff)
downloadkernel-qcow2-linux-179e045369a36c67d590463548749cacc53c9d85.tar.gz
kernel-qcow2-linux-179e045369a36c67d590463548749cacc53c9d85.tar.xz
kernel-qcow2-linux-179e045369a36c67d590463548749cacc53c9d85.zip
OMAP2PLUS: DSS2: Clean up omap_display_init()
Currently, omap_display_init() maintains arrays for hwmod name(oh_name) and the correspnding platform_device name(dev_name) needed by omap_device_build(). A variable oh_count keeps a track of the number of devices to build from oh_name based on what omap revision it is. Clean this up by maintaining an array of omap_dss_hwmod_data struct which is defined for each omap revision as suggested by Tomi Valkeinen. Assign the corresponding omap_dss_hwmod_data array struct to the pointer curr_dss_hwmod in omap_display_init(). Signed-off-by: Archit Taneja <archit@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/opp2420_data.c')
0 files changed, 0 insertions, 0 deletions