From patchwork Wed Oct 24 11:58:15 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hongbo Zhang X-Patchwork-Id: 12457 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 1E77C23FB8 for ; Wed, 24 Oct 2012 11:59:03 +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 B2A8EA18342 for ; Wed, 24 Oct 2012 11:59:02 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id e10so480011iej.11 for ; Wed, 24 Oct 2012 04:59:02 -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=aI7OJdWJ2TGIr4ctz9Ftu67PJiz7wsz1HRg3rQ/bHhEWZMNil9gJkGrgd8uLOMLOit YGLHuzXEQ/YbLuNUeWZ2q8Ow6Jg0+k7aXK+6IJp5Fn2neaEDby5d+DUfTNA0bVRF8qad 7602gh4aea0Buh+o2G+7BBywQCP/eXKVqozdhpuxGbZ6z2noexCWlt7IfJP9XIHEJvah jjlFm3ab1X+ibt9aWOdwQILrmy70RS8kc52rThRB4gihCqZVo3KHG70JYFNlXD0LJEkx 3xqIb2CX7hxZH8UF2ZZBRWEoXkfaMKAXnxGU9z85jGSQDAif7R7qaJY01zJYNfstO+hP qIiw== Received: by 10.50.168.37 with SMTP id zt5mr2054704igb.57.1351079942090; Wed, 24 Oct 2012 04:59:02 -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 n20csp601480igt; Wed, 24 Oct 2012 04:59:01 -0700 (PDT) Received: by 10.66.78.69 with SMTP id z5mr43591289paw.14.1351079941459; Wed, 24 Oct 2012 04:59:01 -0700 (PDT) Received: from mail-pb0-f50.google.com (mail-pb0-f50.google.com [209.85.160.50]) by mx.google.com with ESMTPS id vy7si21432314pbc.336.2012.10.24.04.59.01 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 24 Oct 2012 04:59:01 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of hongbo.zhang@linaro.org) client-ip=209.85.160.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.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-pb0-f50.google.com with SMTP id md4so1275239pbc.37 for ; Wed, 24 Oct 2012 04:59:01 -0700 (PDT) Received: by 10.68.226.71 with SMTP id rq7mr8011805pbc.65.1351079941191; Wed, 24 Oct 2012 04:59:01 -0700 (PDT) Received: from stebjsxu0148.bjs.st.com ([124.127.135.94]) by mx.google.com with ESMTPS id nm2sm9357200pbc.43.2012.10.24.04.58.55 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 24 Oct 2012 04:59:00 -0700 (PDT) From: "hongbo.zhang" To: linaro-dev@lists.linaro.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Cc: patches@linaro.org, linaro-kernel@lists.linaro.org, STEricsson_nomadik_linux@list.st.com, kernel@igloocommunity.org, "hongbo.zhang" Subject: [PATCH V2 1/6] Thermal: add indent for code alignment. Date: Wed, 24 Oct 2012 19:58:15 +0800 Message-Id: <1351079900-32236-2-git-send-email-hongbo.zhang@linaro.com> X-Mailer: git-send-email 1.7.11.3 In-Reply-To: <1351079900-32236-1-git-send-email-hongbo.zhang@linaro.com> References: <1350387889-15324-1-git-send-email-hongbo.zhang@linaro.com> <1351079900-32236-1-git-send-email-hongbo.zhang@linaro.com> X-Gm-Message-State: ALoCoQnExxgZJM0kOuPedWtIxUfLDQw69oRa3cLVS1myEK7cK+kFMGuxxa5XSrdB41UIzrd8tVDr 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);