From patchwork Fri Mar 12 15:27:22 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 85310 X-Patchwork-Delegate: tomi.valkeinen@nokia.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o2CFMwtH024947 for ; Fri, 12 Mar 2010 15:28:11 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934325Ab0CLP2L (ORCPT ); Fri, 12 Mar 2010 10:28:11 -0500 Received: from smtp.nokia.com ([192.100.122.230]:20684 "EHLO mgw-mx03.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934302Ab0CLP2K (ORCPT ); Fri, 12 Mar 2010 10:28:10 -0500 Received: from esebh106.NOE.Nokia.com (esebh106.ntc.nokia.com [172.21.138.213]) by mgw-mx03.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id o2CFRX5f003081; Fri, 12 Mar 2010 17:27:57 +0200 Received: from esebh102.NOE.Nokia.com ([172.21.138.183]) by esebh106.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 12 Mar 2010 17:27:55 +0200 Received: from mgw-sa01.ext.nokia.com ([147.243.1.47]) by esebh102.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Fri, 12 Mar 2010 17:27:55 +0200 Received: from localhost.localdomain (esdhcp041162.research.nokia.com [172.21.41.162]) by mgw-sa01.ext.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id o2CFRqbd004595; Fri, 12 Mar 2010 17:27:53 +0200 From: Roger Quadros To: Tomi.Valkeinen@nokia.com Cc: linux-fbdev-devel@lists.sourceforge.net, linux-omap@vger.kernel.org Subject: [RFC][PATCH 1/3] OMAP: DSS2: Do regulator stuff in dpi_init_display() Date: Fri, 12 Mar 2010 17:27:22 +0200 Message-Id: <1268407644-31230-2-git-send-email-roger.quadros@nokia.com> X-Mailer: git-send-email 1.6.0.4 In-Reply-To: <1268407644-31230-1-git-send-email-roger.quadros@nokia.com> References: <1268407644-31230-1-git-send-email-roger.quadros@nokia.com> X-OriginalArrivalTime: 12 Mar 2010 15:27:55.0843 (UTC) FILETIME=[96BBF130:01CAC1F8] X-Nokia-AV: Clean Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Fri, 12 Mar 2010 15:28:12 +0000 (UTC) diff --git a/drivers/video/omap2/dss/dpi.c b/drivers/video/omap2/dss/dpi.c index 960e977..bcedafd 100644 --- a/drivers/video/omap2/dss/dpi.c +++ b/drivers/video/omap2/dss/dpi.c @@ -299,11 +299,6 @@ int dpi_init_display(struct omap_dss_device *dssdev) { DSSDBG("init_display\n"); - return 0; -} - -int dpi_init(struct platform_device *pdev) -{ if (cpu_is_omap34xx()) { dpi.vdds_dsi_reg = dss_get_vdds_dsi(); if (IS_ERR(dpi.vdds_dsi_reg)) { @@ -315,6 +310,11 @@ int dpi_init(struct platform_device *pdev) return 0; } +int dpi_init(struct platform_device *pdev) +{ + return 0; +} + void dpi_exit(void) { }