From patchwork Tue Oct 30 16:48:57 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hongbo Zhang X-Patchwork-Id: 12594 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 2A17A23EF7 for ; Tue, 30 Oct 2012 16:49:56 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id C8CC0A18FE4 for ; Tue, 30 Oct 2012 16:49:55 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id e10so688763iej.11 for ; Tue, 30 Oct 2012 09:49:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=eJP2I5J92TbQxYXrHoDjtXAGT1Mc8Al/Per1Hva0r70=; b=nRdXFEipOs3u5wW7Yr0/QTQvQNX+sH1cldx8tYoYX1VGy4GCgaYielIZK9piOmjgkg UCo3eOLSt6AQ3tw/2X4LarnGZZloWIhvc7Y1ikSiDxrjHe/Ah/Sdr0dIULEW+kLuwAdO p5Gxzufkj8OeF6CKlxjybKfq6JaYQiUwb5/9i1Zgizv83TJtGbD2iFVFreivzCuzYNKU sAavL0c/8rVADS7LIYgADIMxfenitmjKOfiuSIqOJZUUDiTPQ4yS/bpmSdaC67gbuHyP xTAQkdHcYxnGnAU90faDczENjlXTfqV+LoQk+HwP4LJWf64jcDOBH86ucGYjnAcg37tM xXzQ== Received: by 10.43.7.132 with SMTP id oo4mr28977888icb.6.1351615795578; Tue, 30 Oct 2012 09:49:55 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.67.148 with SMTP id n20csp448768igt; Tue, 30 Oct 2012 09:49:54 -0700 (PDT) Received: by 10.204.12.215 with SMTP id y23mr10213661bky.13.1351615794337; Tue, 30 Oct 2012 09:49:54 -0700 (PDT) Received: from mail-bk0-f50.google.com (mail-bk0-f50.google.com [209.85.214.50]) by mx.google.com with ESMTPS id l8si1692092bka.86.2012.10.30.09.49.53 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 30 Oct 2012 09:49:54 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.214.50 is neither permitted nor denied by best guess record for domain of hongbo.zhang@linaro.org) client-ip=209.85.214.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.214.50 is neither permitted nor denied by best guess record for domain of hongbo.zhang@linaro.org) smtp.mail=hongbo.zhang@linaro.org Received: by mail-bk0-f50.google.com with SMTP id q16so298513bkw.37 for ; Tue, 30 Oct 2012 09:49:53 -0700 (PDT) Received: by 10.204.147.139 with SMTP id l11mr10596234bkv.100.1351615793628; Tue, 30 Oct 2012 09:49:53 -0700 (PDT) Received: from localhost.localdomain ([91.224.175.20]) by mx.google.com with ESMTPS id v14sm1673891bkv.10.2012.10.30.09.49.48 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 30 Oct 2012 09:49:49 -0700 (PDT) From: "hongbo.zhang" To: linaro-dev@lists.linaro.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, rui.zhang@intel.com, amit.kachhap@linaro.org Cc: patches@linaro.org, linaro-kernel@lists.linaro.org, STEricsson_nomadik_linux@list.st.com, kernel@igloocommunity.org, "hongbo.zhang" Subject: [PATCH V3 1/5] Thermal: add indent for code alignment. Date: Tue, 30 Oct 2012 17:48:57 +0100 Message-Id: <1351615741-24134-2-git-send-email-hongbo.zhang@linaro.com> X-Mailer: git-send-email 1.7.11.3 In-Reply-To: <1351615741-24134-1-git-send-email-hongbo.zhang@linaro.com> References: <1351079900-32236-1-git-send-email-hongbo.zhang@linaro.com> <1351615741-24134-1-git-send-email-hongbo.zhang@linaro.com> X-Gm-Message-State: ALoCoQkgbhr3ktAD/fne7Yyj/n/36FpmYspcVD3dxZIyX5xUNwQzcRSChU+oVOtmvRnNEqVtSG2o From: "hongbo.zhang" The curly bracket should be aligned with corresponding if else statements. Signed-off-by: hongbo.zhang Reviewed-by: Viresh Kumar --- drivers/thermal/cpu_cooling.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c index cc1c930..b6b4c2a 100644 --- a/drivers/thermal/cpu_cooling.c +++ b/drivers/thermal/cpu_cooling.c @@ -369,7 +369,7 @@ struct thermal_cooling_device *cpufreq_cooling_register( if (min != policy.cpuinfo.min_freq || max != policy.cpuinfo.max_freq) return ERR_PTR(-EINVAL); -} + } } cpufreq_dev = kzalloc(sizeof(struct cpufreq_cooling_device), GFP_KERNEL);