diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-05-25 09:22:26 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-07-25 03:22:06 -0400 |
commit | 6d9f29dd62142a173b54c0a5645fbdfb296f1316 (patch) | |
tree | 1bc1b34dab655ce9af68ce3a6afc3a1415b2a888 /arch/arm/mach-omap2/display.c | |
parent | e6d80f950a77ca48eada6457a290dc5471e1dd73 (diff) |
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/arm/mach-omap2/display.c')
-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 af43620863c..a5b7a236aa5 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[] = { | |||
43 | }, | 43 | }, |
44 | }; | 44 | }; |
45 | 45 | ||
46 | /* oh_core is used for getting opt-clocks */ | ||
47 | static struct omap_hwmod *oh_core; | ||
48 | |||
49 | struct omap_dss_hwmod_data { | 46 | struct omap_dss_hwmod_data { |
50 | const char *oh_name; | 47 | const char *oh_name; |
51 | const char *dev_name; | 48 | const char *dev_name; |
@@ -99,13 +96,6 @@ int __init omap_display_init(struct omap_dss_board_info *board_data) | |||
99 | oh_count = ARRAY_SIZE(omap4_dss_hwmod_data); | 96 | oh_count = ARRAY_SIZE(omap4_dss_hwmod_data); |
100 | } | 97 | } |
101 | 98 | ||
102 | /* opt_clks are always associated with dss hwmod */ | ||
103 | oh_core = omap_hwmod_lookup("dss_core"); | ||
104 | if (!oh_core) { | ||
105 | pr_err("Could not look up dss_core.\n"); | ||
106 | return -ENODEV; | ||
107 | } | ||
108 | |||
109 | pdata.board_data = board_data; | 99 | pdata.board_data = board_data; |
110 | pdata.board_data->get_context_loss_count = | 100 | pdata.board_data->get_context_loss_count = |
111 | omap_pm_get_dev_context_loss_count; | 101 | omap_pm_get_dev_context_loss_count; |