From patchwork Sun Sep 22 01:21:03 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 20513 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f198.google.com (mail-vc0-f198.google.com [209.85.220.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9523825E85 for ; Sun, 22 Sep 2013 01:22:35 +0000 (UTC) Received: by mail-vc0-f198.google.com with SMTP id ht10sf1855297vcb.5 for ; Sat, 21 Sep 2013 18:22:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version: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=P4j5A7vr5C3KRjWwhhps/duf4eu2nuOdjcOtvDs521s=; b=X8j+dsGGnfTafhW7LxCCOAQmzn8GasasMzCYnw4YkluCDI83OdG3k+d03VOdJrWGKU q3ROAkL4vCQA3HPIRS1NU/0Ai8VbC2caaSj0ynYiyOcX3yZQMnQgyPOgj98drs9yG8FW 7FB5GJ7P4KQx2yNOQJcEXTpMrILGuOw6ctpHv0cZjl2lcLLXs+MGfDsBCB0AX0PcM/t0 wbp4YS0ZDhjqb/hp5T9nDWRESbs/A8+gk7244SAbGAuwj76x6lwG+0IbVU3XLsd8Yn6f ELcu5cQyiMUzsIFO2N2RTUpVMQ4XXukw+c+a8IB4HZIYhoVTOWo35uzrE8LN5wU4lnoX aXRA== X-Gm-Message-State: ALoCoQk91raEkFmAePCC9mhBRtDatpZYPDFO41y0J43gFjI1X/N/FB8n1QVS6Uaw8RI6moyj/3uo X-Received: by 10.224.112.133 with SMTP id w5mr6587401qap.5.1379812955417; Sat, 21 Sep 2013 18:22:35 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.12.20 with SMTP id u20ls770084qeb.92.gmail; Sat, 21 Sep 2013 18:22:35 -0700 (PDT) X-Received: by 10.52.103.35 with SMTP id ft3mr12135006vdb.5.1379812955336; Sat, 21 Sep 2013 18:22:35 -0700 (PDT) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by mx.google.com with ESMTPS id d9si4532682vee.123.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 21 Sep 2013 18:22:35 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.173 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.173; Received: by mail-vc0-f173.google.com with SMTP id if17so1258591vcb.4 for ; Sat, 21 Sep 2013 18:22:35 -0700 (PDT) X-Received: by 10.220.174.200 with SMTP id u8mr14234389vcz.6.1379812955244; Sat, 21 Sep 2013 18:22:35 -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 u4csp91738vcz; Sat, 21 Sep 2013 18:22:34 -0700 (PDT) X-Received: by 10.68.60.226 with SMTP id k2mr74249pbr.146.1379812954419; Sat, 21 Sep 2013 18:22:34 -0700 (PDT) Received: from mail-pd0-f179.google.com (mail-pd0-f179.google.com [209.85.192.179]) by mx.google.com with ESMTPS id j3si15806709pbw.249.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 21 Sep 2013 18:22:34 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.179 is neither permitted nor denied by best guess record for domain of viresh.kumar@linaro.org) client-ip=209.85.192.179; Received: by mail-pd0-f179.google.com with SMTP id v10so1852240pde.10 for ; Sat, 21 Sep 2013 18:22:34 -0700 (PDT) X-Received: by 10.66.142.230 with SMTP id rz6mr270557pab.117.1379812954014; Sat, 21 Sep 2013 18:22:34 -0700 (PDT) Received: from localhost ([122.167.152.64]) by mx.google.com with ESMTPSA id wd6sm28285517pab.3.1969.12.31.16.00.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sat, 21 Sep 2013 18:22:33 -0700 (PDT) From: Viresh Kumar To: rjw@sisk.pl, daniel.lezcano@linaro.org Cc: linaro-kernel@lists.linaro.org, patches@linaro.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Viresh Kumar Subject: [PATCH 11/21] cpuidle: replace multiline statements with single line in cpuidle_idle_call() Date: Sun, 22 Sep 2013 06:51:03 +0530 Message-Id: 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.220.173 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: , Few statements in cpuidle_idle_call() are broken into multiple lines, whereas they can actually come in a single line. Convert those to single line. Signed-off-by: Viresh Kumar --- drivers/cpuidle/cpuidle.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/cpuidle/cpuidle.c b/drivers/cpuidle/cpuidle.c index ed67e3c..43d5836 100644 --- a/drivers/cpuidle/cpuidle.c +++ b/drivers/cpuidle/cpuidle.c @@ -145,8 +145,7 @@ int cpuidle_idle_call(void) broadcast = drv->states[next_state].flags & CPUIDLE_FLAG_TIMER_STOP; if (broadcast) - clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_ENTER, - &dev->cpu); + clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_ENTER, &dev->cpu); if (cpuidle_state_is_coupled(dev, drv, next_state)) entered_state = cpuidle_enter_state_coupled(dev, drv, @@ -155,8 +154,7 @@ int cpuidle_idle_call(void) entered_state = cpuidle_enter_state(dev, drv, next_state); if (broadcast) - clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_EXIT, - &dev->cpu); + clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_EXIT, &dev->cpu); trace_cpu_idle_rcuidle(PWR_EVENT_EXIT, dev->cpu);