From patchwork Thu Oct 3 15:56:49 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 20799 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f70.google.com (mail-wg0-f70.google.com [74.125.82.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 857AA25CAB for ; Thu, 3 Oct 2013 15:58:11 +0000 (UTC) Received: by mail-wg0-f70.google.com with SMTP id m15sf3234199wgh.1 for ; Thu, 03 Oct 2013 08:58:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; 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=bXRAulRAJhh6VEG4656A+/G6/NF4Y8qwIA5PvFuK9XU=; b=QSMB1rJPrf1NpmgE/DeztWi0F6cozvWx2MP6SSWGTOZt7kJGw91im1TlTjJGP2zvy4 daDku1GSDfw3SWbH5wRujv8ECVgpec6PoXIZxEHIfZDL6BxVgXpJyeFsMmR1lHZjpT0T 2EUXj9DIchUei01KkyEhR7q+YMva9PsXkV265hUlRRhu86TZrkjnSAC5UrbNqEfTcYyC vCTtCVNTtbI1G7iPYteyjPJ2s3+Ilb1MITqlYrx2X5swClvDg0nwuu+OI57vz/6FsqUf SvdLNwad9p6c1JYiE1bMDYHX+Z81rQjCrhghSNEihfKxFX7seApDNOzFRq7DeaeNdV20 i27Q== X-Received: by 10.112.184.225 with SMTP id ex1mr2819252lbc.17.1380815890659; Thu, 03 Oct 2013 08:58:10 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.18.199 with SMTP id y7ls1033817qed.78.gmail; Thu, 03 Oct 2013 08:58:10 -0700 (PDT) X-Received: by 10.220.47.10 with SMTP id l10mr51424vcf.32.1380815890493; Thu, 03 Oct 2013 08:58:10 -0700 (PDT) Received: from mail-vc0-f174.google.com (mail-vc0-f174.google.com [209.85.220.174]) by mx.google.com with ESMTPS id f10si1891511vck.20.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 03 Oct 2013 08:58:10 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.174 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.174; Received: by mail-vc0-f174.google.com with SMTP id gd11so1082542vcb.19 for ; Thu, 03 Oct 2013 08:58:10 -0700 (PDT) X-Gm-Message-State: ALoCoQnoMBfFf6CRLoTZci6T1BrGw/iqF61p6fgNOxlnULrIub1qxN2pR+f4eRdJwU9IBzNsF4/w X-Received: by 10.52.24.4 with SMTP id q4mr650230vdf.34.1380815890397; Thu, 03 Oct 2013 08:58:10 -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 u4csp189219vcz; Thu, 3 Oct 2013 08:58:09 -0700 (PDT) X-Received: by 10.66.248.130 with SMTP id ym2mr4106749pac.177.1380815889407; Thu, 03 Oct 2013 08:58:09 -0700 (PDT) Received: from mail-pb0-f41.google.com (mail-pb0-f41.google.com [209.85.160.41]) by mx.google.com with ESMTPS id tp5si6845913pac.106.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 03 Oct 2013 08:58:09 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.41 is neither permitted nor denied by best guess record for domain of viresh.kumar@linaro.org) client-ip=209.85.160.41; Received: by mail-pb0-f41.google.com with SMTP id rp2so2654116pbb.14 for ; Thu, 03 Oct 2013 08:58:09 -0700 (PDT) X-Received: by 10.66.163.2 with SMTP id ye2mr4471046pab.168.1380815889013; Thu, 03 Oct 2013 08:58:09 -0700 (PDT) Received: from localhost ([122.167.152.64]) by mx.google.com with ESMTPSA id qp10sm11568805pab.13.1969.12.31.16.00.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 03 Oct 2013 08:58:08 -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 V2 10/16] cpuidle: replace multiline statements with single line in cpuidle_idle_call() Date: Thu, 3 Oct 2013 21:26:49 +0530 Message-Id: <7b2fe550ade94d1defa345b27889777c8c09d517.1380815504.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.220.174 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 ffc637a..b45257a 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);