From patchwork Tue Dec 21 17:25:34 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jarkko Nikula X-Patchwork-Id: 424721 X-Patchwork-Delegate: tony@atomide.com 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 oBLHQ4wu030562 for ; Tue, 21 Dec 2010 17:26:04 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751352Ab0LUR0D (ORCPT ); Tue, 21 Dec 2010 12:26:03 -0500 Received: from mail-bw0-f45.google.com ([209.85.214.45]:51969 "EHLO mail-bw0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751076Ab0LUR0B (ORCPT ); Tue, 21 Dec 2010 12:26:01 -0500 Received: by mail-bw0-f45.google.com with SMTP id 16so4816310bwz.4 for ; Tue, 21 Dec 2010 09:26:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references; bh=1IWw5z2BJvE5XwS6XNFs/Uc42OzBoounzXeVwx7RbG0=; b=iodi7Pym69dop61j+Mtmcfg89UxLOkIYoV4fRuNQb0LhtMh8J+YKT6Cq6It/06b30I TXOSeZ1AO3JJ5ijDWOOV9Y4GaEaJav6Ca5lzOJ8Ba1uEGiC2lMPDb+iB1TE0CDHC8lbN 6rvyKGOiW+9ApchYXv4jVubNRqOueLueL8UV8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=ic4W7lvMkwznzd3wJDX5BDOzGwFLQFzNqJEnb+qPQ6G5xah540WfkVSDW0hVJIF1OR j9oeHU4akYFgd08V0mxIfqZEDQ1hFEg6j1GWUsTsfcVzI4pYySsw+Mnuv4arxbf+FkZp ue6Zf+Rbii+fP6LNI/p8iZI5EGcLIeAbjwebM= Received: by 10.204.98.65 with SMTP id p1mr4998130bkn.198.1292952360188; Tue, 21 Dec 2010 09:26:00 -0800 (PST) Received: from localhost (host-94-101-4-66.igua.fi [94.101.4.66]) by mx.google.com with ESMTPS id b17sm4380506bku.8.2010.12.21.09.25.58 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 21 Dec 2010 09:25:59 -0800 (PST) From: Jarkko Nikula To: linux-omap@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Tony Lindgren , Jarkko Nikula Subject: [PATCH 1/2] omap: rx51: Cleanup vdds_sdi supply construction Date: Tue, 21 Dec 2010 19:25:34 +0200 Message-Id: <1292952335-21314-2-git-send-email-jhnikula@gmail.com> X-Mailer: git-send-email 1.7.2.3 In-Reply-To: <1292952335-21314-1-git-send-email-jhnikula@gmail.com> References: <1292952335-21314-1-git-send-email-jhnikula@gmail.com> 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 (demeter1.kernel.org [140.211.167.41]); Tue, 21 Dec 2010 17:26:04 +0000 (UTC) diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c index fd95ccf..768f0dc 100644 --- a/arch/arm/mach-omap2/board-rx51-peripherals.c +++ b/arch/arm/mach-omap2/board-rx51-peripherals.c @@ -359,17 +359,8 @@ static struct regulator_consumer_supply rx51_vio_supplies[] = { REGULATOR_SUPPLY("DVDD", "2-0019"), }; -#if defined(CONFIG_FB_OMAP2) || defined(CONFIG_FB_OMAP2_MODULE) -extern struct platform_device rx51_display_device; -#endif - static struct regulator_consumer_supply rx51_vaux1_consumers[] = { -#if defined(CONFIG_FB_OMAP2) || defined(CONFIG_FB_OMAP2_MODULE) - { - .supply = "vdds_sdi", - .dev = &rx51_display_device.dev, - }, -#endif + REGULATOR_SUPPLY("vdds_sdi", "omapdss"), }; static struct regulator_init_data rx51_vaux1 = {