From patchwork Wed May 4 12:27:35 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 753592 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p44CXnio012008 for ; Wed, 4 May 2011 12:33:49 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752660Ab1EDMds (ORCPT ); Wed, 4 May 2011 08:33:48 -0400 Received: from na3sys009aob106.obsmtp.com ([74.125.149.76]:52942 "EHLO na3sys009aog106.obsmtp.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752047Ab1EDMds (ORCPT ); Wed, 4 May 2011 08:33:48 -0400 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Wed, 04 May 2011 12:33:50 +0000 (UTC) X-Greylist: delayed 348 seconds by postgrey-1.27 at vger.kernel.org; Wed, 04 May 2011 08:33:47 EDT Received: from mail-ww0-f46.google.com ([74.125.82.46]) (using TLSv1) by na3sys009aob106.postini.com ([74.125.148.12]) with SMTP ID DSNKTcFHqnQbW/ZYc6N13uJxlLazvdnfuuu3@postini.com; Wed, 04 May 2011 05:33:47 PDT Received: by mail-ww0-f46.google.com with SMTP id 28so897973wwb.27 for ; Wed, 04 May 2011 05:33:46 -0700 (PDT) Received: by 10.216.61.5 with SMTP id v5mr4801230wec.74.1304512081748; Wed, 04 May 2011 05:28:01 -0700 (PDT) Received: from localhost.localdomain (a62-248-131-233.elisa-laajakaista.fi [62.248.131.233]) by mx.google.com with ESMTPS id z13sm665582wbd.46.2011.05.04.05.27.59 (version=SSLv3 cipher=OTHER); Wed, 04 May 2011 05:28:00 -0700 (PDT) From: Tomi Valkeinen To: linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org Cc: Tomi Valkeinen , Gregoire Gentil Subject: [PATCH 3/7] OMAP: omap3touchbook: Remove unused lcd stuff Date: Wed, 4 May 2011 15:27:35 +0300 Message-Id: <1304512059-10372-4-git-send-email-tomi.valkeinen@ti.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1304512059-10372-1-git-send-email-tomi.valkeinen@ti.com> References: <1304512059-10372-1-git-send-email-tomi.valkeinen@ti.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org board-omap3touchbook.c adds an LCD device, but the kernel doesn't contain a driver for the device. So let's remove the unneeded LCD device. Signed-off-by: Tomi Valkeinen Cc: Gregoire Gentil --- 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 127cb17..1c717a4 100644 --- a/arch/arm/mach-omap2/board-omap3touchbook.c +++ b/arch/arm/mach-omap2/board-omap3touchbook.c @@ -115,15 +115,6 @@ static struct omap2_hsmmc_info mmc[] = { {} /* Terminator */ }; -static struct platform_device omap3_touchbook_lcd_device = { - .name = "omap3touchbook_lcd", - .id = -1, -}; - -static struct omap_lcd_config omap3_touchbook_lcd_config __initdata = { - .ctrl_name = "internal", -}; - static struct regulator_consumer_supply touchbook_vmmc1_supply = { .supply = "vmmc", }; @@ -181,12 +172,10 @@ static struct twl4030_gpio_platform_data touchbook_gpio_data = { static struct regulator_consumer_supply touchbook_vdac_supply = { .supply = "vdac", - .dev = &omap3_touchbook_lcd_device.dev, }; static struct regulator_consumer_supply touchbook_vdvi_supply = { .supply = "vdvi", - .dev = &omap3_touchbook_lcd_device.dev, }; /* VMMC1 for MMC1 pins CMD, CLK, DAT0..DAT3 (20 mA, plus card == max 220 mA) */ @@ -403,10 +392,6 @@ static struct platform_device keys_gpio = { }, }; -static struct omap_board_config_kernel omap3_touchbook_config[] __initdata = { - { OMAP_TAG_LCD, &omap3_touchbook_lcd_config }, -}; - #ifdef CONFIG_OMAP_MUX static struct omap_board_mux board_mux[] __initdata = { { .reg_offset = OMAP_MUX_TERMINATOR }, @@ -429,7 +414,6 @@ static void __init omap3_touchbook_init_irq(void) } static struct platform_device *omap3_touchbook_devices[] __initdata = { - &omap3_touchbook_lcd_device, &leds_gpio, &keys_gpio, }; @@ -510,8 +494,6 @@ static struct omap_musb_board_data musb_board_data = { static void __init omap3_touchbook_init(void) { omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); - omap_board_config = omap3_touchbook_config; - omap_board_config_size = ARRAY_SIZE(omap3_touchbook_config); pm_power_off = omap3_touchbook_poweroff;