OMAPDSS: DISPC: Remove usage of dispc_mgr_get_device()
authorArchit Taneja <archit@ti.com>
Tue, 8 May 2012 10:23:20 +0000 (15:53 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 9 May 2012 10:44:09 +0000 (13:44 +0300)
commit81ab95b7ec91e47c81e5e6ef4aac7b08c1ae90aa
treef20c901613fa622b2e05d0d20c0aa001925d5dd2
parent3fa03ba8542c40b90c95facfecd9b2789f71c0b6
OMAPDSS: DISPC: Remove usage of dispc_mgr_get_device()

The functions calc_fclk_five_taps() and check_horiz_timing_omap3() use the
function dispc_mgr_get_device() to get the omap_dss_device pointer to which
the manager is connected, the width of the panel is derived from that.

The manager's timing is stored in it's private data in APPLY. This contains
the latest timings applied to the manager. Pass these timings to
dispc_ovl_setup() and use them in the above functions. Remove the function
dispc_mgr_get_device() as it isn't used any more.

Signed-off-by: Archit Taneja <archit@ti.com>
drivers/video/omap2/dss/apply.c
drivers/video/omap2/dss/dispc.c
drivers/video/omap2/dss/dss.h