summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/display.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2011-05-27 10:52:38 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2011-07-25 10:22:05 +0300
commitaea4eb9590c6fa36e1b68b9cf5c3e4ddea402812 (patch)
treefe5fdee1316ad2f4fde183ab12169be4af1554ad /arch/arm/mach-omap2/display.c
parent4fbafaf371be780ed2cd73a520dfeafa1ea73e24 (diff)
downloadtalos-op-linux-aea4eb9590c6fa36e1b68b9cf5c3e4ddea402812.tar.gz
talos-op-linux-aea4eb9590c6fa36e1b68b9cf5c3e4ddea402812.zip
OMAP: DSS2: Remove unused opt_clock_available
opt_clock_available() is no longer needed, so remove it. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/display.c')
-rw-r--r--arch/arm/mach-omap2/display.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/arm/mach-omap2/display.c b/arch/arm/mach-omap2/display.c
index c7e19c4cb9d4..af43620863c5 100644
--- a/arch/arm/mach-omap2/display.c
+++ b/arch/arm/mach-omap2/display.c
@@ -46,17 +46,6 @@ static struct omap_device_pm_latency omap_dss_latency[] = {
/* oh_core is used for getting opt-clocks */
static struct omap_hwmod *oh_core;
-static bool opt_clock_available(const char *clk_role)
-{
- int i;
-
- for (i = 0; i < oh_core->opt_clks_cnt; i++) {
- if (!strcmp(oh_core->opt_clks[i].role, clk_role))
- return true;
- }
- return false;
-}
-
struct omap_dss_hwmod_data {
const char *oh_name;
const char *dev_name;
@@ -120,7 +109,6 @@ int __init omap_display_init(struct omap_dss_board_info *board_data)
pdata.board_data = board_data;
pdata.board_data->get_context_loss_count =
omap_pm_get_dev_context_loss_count;
- pdata.opt_clock_available = opt_clock_available;
for (i = 0; i < oh_count; i++) {
oh = omap_hwmod_lookup(curr_dss_hwmod[i].oh_name);
OpenPOWER on IntegriCloud