From patchwork Tue Aug 20 06:38:22 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 19340 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ye0-f198.google.com (mail-ye0-f198.google.com [209.85.213.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6A95025BDE for ; Tue, 20 Aug 2013 06:39:48 +0000 (UTC) Received: by mail-ye0-f198.google.com with SMTP id m1sf19966yen.1 for ; Mon, 19 Aug 2013 23:39:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-gm-message-state:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:in-reply-to:references :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=lQY0EteSeVR1oFQaAOAtf+jjh2ksTTsuPwV5YXOF15U=; b=hmYcISxzc7JfvKb91NZtu9nvyTjzvDIzeucN+JgK+2XW2kHpO2qvK/dIIIN6cKTSX0 FKxcFxxlc4uXd0fVvJQn49Ijtqw2tCHQsMpIt1v4pwEokS4FjclwKtia3YKHdSpoYQtB yv2eM2ictQkUSln3OY5abL056wFSO310hHEfEt8/8+BX2sGqcABJqEjuq+VHaWxdW96U BCbupesZYvMMIk8UdfLl1Xncgq+8585VjUxEtbI88dEzG9+jghU7f6HR+n2aJvRopNun X6QLccrIbjzPlsOCCQoSVDpFaCFO9xD/fGLDJc6lpGmFQcuNSkS1o9aaSaOASz/H6oDG IGZA== X-Received: by 10.224.13.136 with SMTP id c8mr2160976qaa.0.1376980788217; Mon, 19 Aug 2013 23:39:48 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.47.113 with SMTP id c17ls134495qen.30.gmail; Mon, 19 Aug 2013 23:39:48 -0700 (PDT) X-Received: by 10.52.170.171 with SMTP id an11mr14047vdc.108.1376980788092; Mon, 19 Aug 2013 23:39:48 -0700 (PDT) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx.google.com with ESMTPS id sk7si11185vdc.90.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 19 Aug 2013 23:39:48 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.54 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.54; Received: by mail-vb0-f54.google.com with SMTP id q14so12051vbe.27 for ; Mon, 19 Aug 2013 23:39:48 -0700 (PDT) X-Gm-Message-State: ALoCoQno3Vgf2HZe1dJExcVeAPqbRJOHIW41L9kBU/ZmVAnatgwhRJcqqu42I/tfHhtWEPT2QiXh X-Received: by 10.58.154.34 with SMTP id vl2mr8528veb.35.1376980787999; Mon, 19 Aug 2013 23:39:47 -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.220.174.196 with SMTP id u4csp138835vcz; Mon, 19 Aug 2013 23:39:47 -0700 (PDT) X-Received: by 10.68.225.164 with SMTP id rl4mr2379pbc.100.1376980787050; Mon, 19 Aug 2013 23:39:47 -0700 (PDT) Received: from mail-pd0-f169.google.com (mail-pd0-f169.google.com [209.85.192.169]) by mx.google.com with ESMTPS id zr1si96094pbc.30.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 19 Aug 2013 23:39:47 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.169 is neither permitted nor denied by best guess record for domain of viresh.kumar@linaro.org) client-ip=209.85.192.169; Received: by mail-pd0-f169.google.com with SMTP id r10so28510pdi.0 for ; Mon, 19 Aug 2013 23:39:46 -0700 (PDT) X-Received: by 10.68.164.97 with SMTP id yp1mr20594pbb.77.1376980786478; Mon, 19 Aug 2013 23:39:46 -0700 (PDT) Received: from localhost ([106.200.1.10]) by mx.google.com with ESMTPSA id w6sm101876pbt.32.1969.12.31.16.00.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 19 Aug 2013 23:39:45 -0700 (PDT) From: Viresh Kumar To: rjw@sisk.pl Cc: linaro-kernel@lists.linaro.org, patches@linaro.org, cpufreq@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Viresh Kumar Subject: [PATCH 1/5] cpufreq: align closing brace '}' of an if block Date: Tue, 20 Aug 2013 12:08:22 +0530 Message-Id: <32c32e6a67ea0a10381dcd214a2d6c1475eb81fb.1376979090.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 1.7.12.rc2.18.g61b472e In-Reply-To: References: In-Reply-To: References: X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: viresh.kumar@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.54 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: , Following patch caused this: commit 3de9bdeb28638e164d1f0eb38dd68e3f5d2ac95c Author: Viresh Kumar Date: Tue Aug 6 22:53:13 2013 +0530 cpufreq: improve error checking on return values of __cpufreq_governor() Lets fix it. Signed-off-by: Viresh Kumar --- drivers/cpufreq/cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c index c0ef84d..fedc842 100644 --- a/drivers/cpufreq/cpufreq.c +++ b/drivers/cpufreq/cpufreq.c @@ -1253,7 +1253,7 @@ static int __cpufreq_remove_dev(struct device *dev, __func__); return ret; } - } + } if (!frozen) { lock_policy_rwsem_read(cpu);