From patchwork Tue Mar 17 07:25:44 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kim kyuwon X-Patchwork-Id: 12569 X-Patchwork-Delegate: khilman@deeprootsystems.com Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n2H7N6Hx026927 for ; Tue, 17 Mar 2009 07:25:46 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751815AbZCQHZr (ORCPT ); Tue, 17 Mar 2009 03:25:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752150AbZCQHZr (ORCPT ); Tue, 17 Mar 2009 03:25:47 -0400 Received: from wf-out-1314.google.com ([209.85.200.172]:46850 "EHLO wf-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751815AbZCQHZq (ORCPT ); Tue, 17 Mar 2009 03:25:46 -0400 Received: by wf-out-1314.google.com with SMTP id 28so2379396wfa.4 for ; Tue, 17 Mar 2009 00:25:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=L1z4ktBu/IRAKQqhX/ZC2P94zaVLqw9XdyEyfMfje00=; b=kjWZZSm3Z+ic/XQYLfB7P10HEeP0YAhjIcWuj7boA9fdjcZkgztKo9Ff0NoC/5M8TU 3oM+WUEPb92G/+JybhPEcLxfo0MhhgvY/jqqT5d7gkkRuP2EPcsvqVIfLdHRd0imSuHS bZhRif34imud32WPWG1uEtvWUYrzHUyBN3DWY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=KqtqmTK3bz2vstQLC+rcMpn5Xc8MJzwRzWVjZf9kaENfTtLi9szWGdw5kMBnsEuW04 ynvehNME/ej8aOBMRLAGkojf2UpmAUuNrl2FpS6yHEIN/IR6RI1c66cX7E5r10NjAMDT 5Xill2p1FjZ5VEWp1dDfVOFClhsrsBoANr6mU= MIME-Version: 1.0 Received: by 10.142.113.17 with SMTP id l17mr2626782wfc.293.1237274744635; Tue, 17 Mar 2009 00:25:44 -0700 (PDT) Date: Tue, 17 Mar 2009 16:25:44 +0900 Message-ID: <4d34a0a70903170025y9256732xff9b811fa803f2b0@mail.gmail.com> Subject: [PATCH 2/3] OMAP3: PM: Remove double assignments of mpu_pd, core_pd From: Kim Kyuwon To: OMAP Cc: q1.kim@samsung.com, Kevin Hilman , Jouni Hogander , kyungmin.park@samsung.com Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org mpu_pd, core_pd is already assigned at the beginning of the omap3_idle_init() function. Signed-off-by: Kim Kyuwon --- arch/arm/mach-omap2/cpuidle34xx.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/cpuidle34xx.c b/arch/arm/mach-omap2/cpuidle34xx.c index 5e50c46..630108c 100644 --- a/arch/arm/mach-omap2/cpuidle34xx.c +++ b/arch/arm/mach-omap2/cpuidle34xx.c @@ -272,8 +272,6 @@ int omap3_idle_init(void) __func__); return -EIO; } - mpu_pd = pwrdm_lookup("mpu_pwrdm"); - core_pd = pwrdm_lookup("core_pwrdm"); return 0; } #endif /* CONFIG_CPU_IDLE */