diff options
author | Arnd Bergmann <arnd@arndb.de> | 2011-10-31 18:17:39 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2011-10-31 18:17:39 -0400 |
commit | 034ee299122c6b145d6d3cafb9ef5c329a4ab990 (patch) | |
tree | 0fb4dba7b72d28e1dc4d3bab1317a9a98302a7a5 /arch/arm/mach-omap2/board-omap3touchbook.c | |
parent | d6bb0f27709b91e674ce1441e2dd5e68620edf14 (diff) | |
parent | 3e28189038bb831512cf4f8313e1aead97c3e63f (diff) |
Merge branch 'depends/omap2_dss' into next/cleanup
Omap cleanups conflicted with omap2_dss work in a nontrivial
way, this is the most logical fixup.
Conflicts:
arch/arm/mach-omap2/board-2430sdp.c
arch/arm/mach-omap2/board-4430sdp.c
arch/arm/mach-omap2/board-apollon.c
arch/arm/mach-omap2/board-h4.c
arch/arm/mach-omap2/board-ldp.c
arch/arm/mach-omap2/board-rx51.c
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-omap2/board-omap3touchbook.c')
-rw-r--r-- | arch/arm/mach-omap2/board-omap3touchbook.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/arch/arm/mach-omap2/board-omap3touchbook.c b/arch/arm/mach-omap2/board-omap3touchbook.c index c2d5348f542..a2d0d1971e2 100644 --- a/arch/arm/mach-omap2/board-omap3touchbook.c +++ b/arch/arm/mach-omap2/board-omap3touchbook.c | |||
@@ -104,15 +104,6 @@ static struct omap2_hsmmc_info mmc[] = { | |||
104 | {} /* Terminator */ | 104 | {} /* Terminator */ |
105 | }; | 105 | }; |
106 | 106 | ||
107 | static struct platform_device omap3_touchbook_lcd_device = { | ||
108 | .name = "omap3touchbook_lcd", | ||
109 | .id = -1, | ||
110 | }; | ||
111 | |||
112 | static struct omap_lcd_config omap3_touchbook_lcd_config __initdata = { | ||
113 | .ctrl_name = "internal", | ||
114 | }; | ||
115 | |||
116 | static struct regulator_consumer_supply touchbook_vmmc1_supply[] = { | 107 | static struct regulator_consumer_supply touchbook_vmmc1_supply[] = { |
117 | REGULATOR_SUPPLY("vmmc", "omap_hsmmc.0"), | 108 | REGULATOR_SUPPLY("vmmc", "omap_hsmmc.0"), |
118 | }; | 109 | }; |
@@ -165,14 +156,12 @@ static struct twl4030_gpio_platform_data touchbook_gpio_data = { | |||
165 | static struct regulator_consumer_supply touchbook_vdac_supply[] = { | 156 | static struct regulator_consumer_supply touchbook_vdac_supply[] = { |
166 | { | 157 | { |
167 | .supply = "vdac", | 158 | .supply = "vdac", |
168 | .dev = &omap3_touchbook_lcd_device.dev, | ||
169 | }, | 159 | }, |
170 | }; | 160 | }; |
171 | 161 | ||
172 | static struct regulator_consumer_supply touchbook_vdvi_supply[] = { | 162 | static struct regulator_consumer_supply touchbook_vdvi_supply[] = { |
173 | { | 163 | { |
174 | .supply = "vdvi", | 164 | .supply = "vdvi", |
175 | .dev = &omap3_touchbook_lcd_device.dev, | ||
176 | }, | 165 | }, |
177 | }; | 166 | }; |
178 | 167 | ||
@@ -316,10 +305,6 @@ static struct platform_device keys_gpio = { | |||
316 | }, | 305 | }, |
317 | }; | 306 | }; |
318 | 307 | ||
319 | static struct omap_board_config_kernel omap3_touchbook_config[] __initdata = { | ||
320 | { OMAP_TAG_LCD, &omap3_touchbook_lcd_config }, | ||
321 | }; | ||
322 | |||
323 | #ifdef CONFIG_OMAP_MUX | 308 | #ifdef CONFIG_OMAP_MUX |
324 | static struct omap_board_mux board_mux[] __initdata = { | 309 | static struct omap_board_mux board_mux[] __initdata = { |
325 | { .reg_offset = OMAP_MUX_TERMINATOR }, | 310 | { .reg_offset = OMAP_MUX_TERMINATOR }, |
@@ -327,7 +312,6 @@ static struct omap_board_mux board_mux[] __initdata = { | |||
327 | #endif | 312 | #endif |
328 | 313 | ||
329 | static struct platform_device *omap3_touchbook_devices[] __initdata = { | 314 | static struct platform_device *omap3_touchbook_devices[] __initdata = { |
330 | &omap3_touchbook_lcd_device, | ||
331 | &leds_gpio, | 315 | &leds_gpio, |
332 | &keys_gpio, | 316 | &keys_gpio, |
333 | }; | 317 | }; |
@@ -364,8 +348,6 @@ early_param("tbr", early_touchbook_revision); | |||
364 | static void __init omap3_touchbook_init(void) | 348 | static void __init omap3_touchbook_init(void) |
365 | { | 349 | { |
366 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); | 350 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); |
367 | omap_board_config = omap3_touchbook_config; | ||
368 | omap_board_config_size = ARRAY_SIZE(omap3_touchbook_config); | ||
369 | 351 | ||
370 | pm_power_off = omap3_touchbook_poweroff; | 352 | pm_power_off = omap3_touchbook_poweroff; |
371 | 353 | ||