From patchwork Thu Apr 21 00:25:31 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 723641 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 p3L0Nnk5013810 for ; Thu, 21 Apr 2011 00:23:49 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752225Ab1DUAXk (ORCPT ); Wed, 20 Apr 2011 20:23:40 -0400 Received: from na3sys009aog109.obsmtp.com ([74.125.149.201]:36431 "EHLO na3sys009aog109.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751971Ab1DUAXk (ORCPT ); Wed, 20 Apr 2011 20:23:40 -0400 Received: from mail-pw0-f49.google.com ([209.85.160.49]) (using TLSv1) by na3sys009aob109.postini.com ([74.125.148.12]) with SMTP ID DSNKTa95C2d8OCMaFMWETiq8waveR2ssygke@postini.com; Wed, 20 Apr 2011 17:23:39 PDT Received: by mail-pw0-f49.google.com with SMTP id 8so763871pwi.8 for ; Wed, 20 Apr 2011 17:23:39 -0700 (PDT) Received: by 10.68.56.164 with SMTP id b4mr11840664pbq.392.1303345419188; Wed, 20 Apr 2011 17:23:39 -0700 (PDT) Received: from localhost (c-24-18-179-55.hsd1.wa.comcast.net [24.18.179.55]) by mx.google.com with ESMTPS id t4sm935127pbl.45.2011.04.20.17.23.38 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 20 Apr 2011 17:23:38 -0700 (PDT) From: Kevin Hilman To: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Paul Walmsely , charu@ti.com Subject: [PATCH] OMAP2+: powerdomain: fix typo: lose context --> loose context Date: Wed, 20 Apr 2011 17:25:31 -0700 Message-Id: <1303345531-8435-1-git-send-email-khilman@ti.com> X-Mailer: git-send-email 1.7.4 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.6 (demeter1.kernel.org [140.211.167.41]); Thu, 21 Apr 2011 00:23:49 +0000 (UTC) Before we get any users of this function, fix the name (and comments) to use loose instead of lose. Signed-off-by: Kevin Hilman --- Applies to v2.6.39-rc4 arch/arm/mach-omap2/powerdomain.c | 6 +++--- arch/arm/mach-omap2/powerdomain.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-omap2/powerdomain.c b/arch/arm/mach-omap2/powerdomain.c index 9af0847..ec3423f 100644 --- a/arch/arm/mach-omap2/powerdomain.c +++ b/arch/arm/mach-omap2/powerdomain.c @@ -960,18 +960,18 @@ u32 pwrdm_get_context_loss_count(struct powerdomain *pwrdm) } /** - * pwrdm_can_ever_lose_context - can this powerdomain ever lose context? + * pwrdm_can_ever_loose_context - can this powerdomain ever loose context? * @pwrdm: struct powerdomain * * * Given a struct powerdomain * @pwrdm, returns 1 if the powerdomain - * can lose either memory or logic context or if @pwrdm is invalid, or + * can loose either memory or logic context or if @pwrdm is invalid, or * returns 0 otherwise. This function is not concerned with how the * powerdomain registers are programmed (i.e., to go off or not); it's * concerned with whether it's ever possible for this powerdomain to * go off while some other part of the chip is active. This function * assumes that every powerdomain can go to either ON or INACTIVE. */ -bool pwrdm_can_ever_lose_context(struct powerdomain *pwrdm) +bool pwrdm_can_ever_loose_context(struct powerdomain *pwrdm) { int i; diff --git a/arch/arm/mach-omap2/powerdomain.h b/arch/arm/mach-omap2/powerdomain.h index d23d979..95d5b9e 100644 --- a/arch/arm/mach-omap2/powerdomain.h +++ b/arch/arm/mach-omap2/powerdomain.h @@ -208,7 +208,7 @@ int pwrdm_pre_transition(void); int pwrdm_post_transition(void); int pwrdm_set_lowpwrstchange(struct powerdomain *pwrdm); u32 pwrdm_get_context_loss_count(struct powerdomain *pwrdm); -bool pwrdm_can_ever_lose_context(struct powerdomain *pwrdm); +bool pwrdm_can_ever_loose_context(struct powerdomain *pwrdm); extern void omap2xxx_powerdomains_init(void); extern void omap3xxx_powerdomains_init(void);