From patchwork Thu Apr 11 20:42:31 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 16049 Return-Path: X-Original-To: linaro@staging.patches.linaro.org Delivered-To: linaro@staging.patches.linaro.org Received: from mail-yh0-f72.google.com (mail-yh0-f72.google.com [209.85.213.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8A8AD238FF for ; Thu, 11 Apr 2013 20:43:20 +0000 (UTC) Received: by mail-yh0-f72.google.com with SMTP id q12sf2785619yhf.11 for ; Thu, 11 Apr 2013 13:42:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-beenthere:x-received:received-spf :x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=lylZDAtA1NMCrtg1j2Kjm2dRK46ETQaFAiMfY+SRHME=; b=cLGP77ssEihpnkWeE6Szw1iCmpgZkr8tbdCy6ojElpC+LNhSMIGPunLancAX8QgLqz 4RlQsSuMW9wsPsDrP54VjxFGpzsB2cF1yitxjB+Aprded34St5W3mXrGN4b42zvsEwDL 4SAyXhhhh29g/np2/32YCuFYDyY5wuFPvo2ijBGiamjPxqplImeOAlK3CSBySM5oCn/q AkQBaKvBX0y5+rQlLzuuCusAbsKkzgvRJYj3lHPA/HA1MFWLvdylCfihuhL49lFidTbP 6EUh+dkxh/t8H1ujf5BrNLAcZZM4X0DBiqxImQerAmmhAg+yrL9OkRC+VvXVYrvJWPxj DU9Q== X-Received: by 10.224.157.1 with SMTP id z1mr4647525qaw.8.1365712978391; Thu, 11 Apr 2013 13:42:58 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.119.162 with SMTP id kv2ls996306qeb.86.gmail; Thu, 11 Apr 2013 13:42:58 -0700 (PDT) X-Received: by 10.58.76.3 with SMTP id g3mr6178686vew.58.1365712978242; Thu, 11 Apr 2013 13:42:58 -0700 (PDT) Received: from mail-vc0-f171.google.com (mail-vc0-f171.google.com [209.85.220.171]) by mx.google.com with ESMTPS id u16si4396959vcj.24.2013.04.11.13.42.58 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 11 Apr 2013 13:42:58 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.171 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.171; Received: by mail-vc0-f171.google.com with SMTP id ha12so1570167vcb.30 for ; Thu, 11 Apr 2013 13:42:58 -0700 (PDT) X-Received: by 10.58.205.179 with SMTP id lh19mr6291505vec.7.1365712977947; Thu, 11 Apr 2013 13:42:57 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.127.98 with SMTP id nf2csp38003veb; Thu, 11 Apr 2013 13:42:57 -0700 (PDT) X-Received: by 10.194.242.163 with SMTP id wr3mr13265897wjc.35.1365712976991; Thu, 11 Apr 2013 13:42:56 -0700 (PDT) Received: from mail-wg0-f47.google.com (mail-wg0-f47.google.com [74.125.82.47]) by mx.google.com with ESMTPS id ck5si2136614wjc.140.2013.04.11.13.42.56 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 11 Apr 2013 13:42:56 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.47 is neither permitted nor denied by best guess record for domain of daniel.lezcano@linaro.org) client-ip=74.125.82.47; Received: by mail-wg0-f47.google.com with SMTP id y10so2023105wgg.2 for ; Thu, 11 Apr 2013 13:42:56 -0700 (PDT) X-Received: by 10.180.36.48 with SMTP id n16mr12679729wij.30.1365712976471; Thu, 11 Apr 2013 13:42:56 -0700 (PDT) Received: from mai.home (AToulouse-654-1-501-244.w83-205.abo.wanadoo.fr. [83.205.84.244]) by mx.google.com with ESMTPS id fv2sm5794029wib.6.2013.04.11.13.42.54 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 11 Apr 2013 13:42:55 -0700 (PDT) From: Daniel Lezcano To: rjw@sisk.pl Cc: linus.walleij@linaro.org, jason@lakedaemon.net, andrew@lunn.ch, kernel@pengutronix.de, swarren@wwwdotorg.org, santosh.shilimkar@ti.com, nicolas.ferre@atmel.com, plagnioj@jcrosoft.com, linux@maxim.org.za, rob.herring@calxeda.com, nsekhar@ti.com, horms@verge.net.au, magnus.damm@gmail.com, deepthi@linux.vnet.ibm.com, lethal@linux-sh.org, jkosina@suse.cz, kgene.kim@samsung.com, khilman@deeprootsystems.com, tony@atomide.com, linux-pm@vger.kernel.org, patches@linaro.org, linux-arm-kernel@lists.infradead.org, linaro-kernel@lists.linaro.org, josephl@nvidia.com Subject: [V2 patch 01/19] ARM: shmobile: cpuidle: remove shmobile_enter_wfi function Date: Thu, 11 Apr 2013 22:42:31 +0200 Message-Id: <1365712969-7541-2-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1365712969-7541-1-git-send-email-daniel.lezcano@linaro.org> References: <1365712969-7541-1-git-send-email-daniel.lezcano@linaro.org> X-Gm-Message-State: ALoCoQnMSvCKxsD6c+GVRKqQhsKVNXyk5RMWSYFInYAIVjRdrWnsjE7fIZ7qtHhlVsVOdpVTck23 X-Original-Sender: daniel.lezcano@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.171 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Remove the shmobile_enter_wfi function which is the same as the common WFI enter function from the arm cpuidle driver defined with the ARM_CPUIDLE_WFI_STATE macro. Signed-off-by: Daniel Lezcano --- arch/arm/mach-shmobile/include/mach/common.h | 3 --- arch/arm/mach-shmobile/pm-sh7372.c | 1 - 2 files changed, 4 deletions(-) diff --git a/arch/arm/mach-shmobile/include/mach/common.h b/arch/arm/mach-shmobile/include/mach/common.h index e48606d..362f9b2 100644 --- a/arch/arm/mach-shmobile/include/mach/common.h +++ b/arch/arm/mach-shmobile/include/mach/common.h @@ -13,9 +13,6 @@ extern int shmobile_clk_init(void); extern void shmobile_handle_irq_intc(struct pt_regs *); extern struct platform_suspend_ops shmobile_suspend_ops; struct cpuidle_driver; -struct cpuidle_device; -extern int shmobile_enter_wfi(struct cpuidle_device *dev, - struct cpuidle_driver *drv, int index); extern void shmobile_cpuidle_set_driver(struct cpuidle_driver *drv); extern void sh7372_init_irq(void); diff --git a/arch/arm/mach-shmobile/pm-sh7372.c b/arch/arm/mach-shmobile/pm-sh7372.c index f6b14ca..fbef7b9 100644 --- a/arch/arm/mach-shmobile/pm-sh7372.c +++ b/arch/arm/mach-shmobile/pm-sh7372.c @@ -414,7 +414,6 @@ static struct cpuidle_driver sh7372_cpuidle_driver = { .state_count = 5, .safe_state_index = 0, /* C1 */ .states[0] = ARM_CPUIDLE_WFI_STATE, - .states[0].enter = shmobile_enter_wfi, .states[1] = { .name = "C2", .desc = "Core Standby Mode",