diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-05-25 15:22:26 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-07-25 09:22:06 +0200 |
commit | 6d9f29dd62142a173b54c0a5645fbdfb296f1316 (patch) | |
tree | 1bc1b34dab655ce9af68ce3a6afc3a1415b2a888 /arch | |
parent | OMAP: DSS2: DISPC: remove finegrained clk enables/disables (diff) | |
download | linux-6d9f29dd62142a173b54c0a5645fbdfb296f1316.tar.xz linux-6d9f29dd62142a173b54c0a5645fbdfb296f1316.zip |
OMAP: DSS2: Remove unused code from display.c
oh_core variable is no longer used, so it and its initialization can be
removed.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-omap2/display.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/arm/mach-omap2/display.c b/arch/arm/mach-omap2/display.c index af43620863c5..a5b7a236aa5b 100644 --- a/arch/arm/mach-omap2/display.c +++ b/arch/arm/mach-omap2/display.c @@ -43,9 +43,6 @@ static struct omap_device_pm_latency omap_dss_latency[] = { }, }; -/* oh_core is used for getting opt-clocks */ -static struct omap_hwmod *oh_core; - struct omap_dss_hwmod_data { const char *oh_name; const char *dev_name; @@ -99,13 +96,6 @@ int __init omap_display_init(struct omap_dss_board_info *board_data) oh_count = ARRAY_SIZE(omap4_dss_hwmod_data); } - /* opt_clks are always associated with dss hwmod */ - oh_core = omap_hwmod_lookup("dss_core"); - if (!oh_core) { - pr_err("Could not look up dss_core.\n"); - return -ENODEV; - } - pdata.board_data = board_data; pdata.board_data->get_context_loss_count = omap_pm_get_dev_context_loss_count; |