OMAP2PLUS: DSS2: Cleanup clock source related code
authorTaneja, Archit <archit@ti.com>
Tue, 8 Mar 2011 11:50:34 +0000 (05:50 -0600)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 11 Mar 2011 13:46:30 +0000 (15:46 +0200)
commit66534e8e936a0b926863df90054dc59826d70528
treeb00e7998a08b47a7b1250086194e9bf95367dfa5
parent7b12d7b66bac4ff51aeea0029734b7a921cbe817
OMAP2PLUS: DSS2: Cleanup clock source related code

Clean up some of the DSS functions which select/get clock sources, use switch
to select the clock source members since more clock sources will be introduced
later on.

Remove the use of macro CONFIG_OMAP2_DSS_DSI in dispc_fclk_rate, use a dummy
inline for function for dsi_get_pll_hsdiv_dispc_rate() instead for code clarity.

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