From patchwork Sat Aug 3 17:15:04 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 18757 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qe0-f70.google.com (mail-qe0-f70.google.com [209.85.128.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id DE6EC23981 for ; Sat, 3 Aug 2013 17:15:05 +0000 (UTC) Received: by mail-qe0-f70.google.com with SMTP id 6sf2474367qeb.1 for ; Sat, 03 Aug 2013 10:15:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-beenthere:x-forwarded-to:x-forwarded-for:delivered-to :mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:x-gm-message-state:x-removed-original-auth:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe :content-type; bh=uacKgwrBGbyqNTnDVuTN4GJTHP/cHVGcgrxOz4+CQ+U=; b=bysAGjGi6HvSQGHuh/6pjxNCR9a01a5oDZ2Wx11bArwGzggFpr01WCouCC0f7M8fHQ SpLXDxDZV2T1HkY0BIYMQ057eCTglLR8R6E7du5+EP+A0SctLLkiRtVun1ZhuDJyAAaY ZlXWvNHOQwbC9VNn9nVYYeFhsUu7D7yYOiELbiqDWjtAm+Hsv0jSAPRbE89T7Chhh3rx iVY3J91hbEwBZmYOTyFmFHn00C1GpOWqqkTlhfEGIm/oTiP/kXxy82fXeK3gcX0Ca2Ng pYdlSPugbm4lH5vwNiX0GQdQTQf0WAAdBsEMM3hHa2O20szhwWG7sTzpHBrgO8+Yx1YE EA+Q== X-Received: by 10.236.133.19 with SMTP id p19mr5229391yhi.54.1375550105639; Sat, 03 Aug 2013 10:15:05 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.129.69 with SMTP id nu5ls2163626qeb.77.gmail; Sat, 03 Aug 2013 10:15:05 -0700 (PDT) X-Received: by 10.59.8.232 with SMTP id dn8mr3777034ved.8.1375550105514; Sat, 03 Aug 2013 10:15:05 -0700 (PDT) Received: from mail-ve0-f178.google.com (mail-ve0-f178.google.com [209.85.128.178]) by mx.google.com with ESMTPS id o7si3205665vet.55.2013.08.03.10.15.05 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 03 Aug 2013 10:15:05 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.178 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.178; Received: by mail-ve0-f178.google.com with SMTP id ox1so1818987veb.37 for ; Sat, 03 Aug 2013 10:15:05 -0700 (PDT) X-Received: by 10.220.164.202 with SMTP id f10mr3645845vcy.25.1375550105405; Sat, 03 Aug 2013 10:15:05 -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.221.11.8 with SMTP id pc8csp10456vcb; Sat, 3 Aug 2013 10:15:05 -0700 (PDT) X-Received: by 10.182.33.4 with SMTP id n4mr9190801obi.19.1375550104807; Sat, 03 Aug 2013 10:15:04 -0700 (PDT) Received: from mail-ob0-f170.google.com (mail-ob0-f170.google.com [209.85.214.170]) by mx.google.com with ESMTPS id qa7si692345oeb.121.2013.08.03.10.15.04 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 03 Aug 2013 10:15:04 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.214.170 is neither permitted nor denied by best guess record for domain of viresh.kumar@linaro.org) client-ip=209.85.214.170; Received: by mail-ob0-f170.google.com with SMTP id eh20so3187457obb.15 for ; Sat, 03 Aug 2013 10:15:04 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.60.56.166 with SMTP id b6mr9347926oeq.38.1375550104391; Sat, 03 Aug 2013 10:15:04 -0700 (PDT) Received: by 10.182.28.168 with HTTP; Sat, 3 Aug 2013 10:15:04 -0700 (PDT) In-Reply-To: References: Date: Sat, 3 Aug 2013 22:45:04 +0530 Message-ID: Subject: Re: [PATCH 01/10] cpufreq: Cleanup header files included in core 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, srivatsa.bhat@linux.vnet.ibm.com, l.majewski@samsung.com, Viresh Kumar X-Gm-Message-State: ALoCoQkapo6J1WS5qRjFRJ80iErBXr5wcbPtu24gE7wyqiaks2J+HHcdgV8NbVrS/12NGOAojOOw 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.128.178 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: , On 3 August 2013 17:19, Viresh Kumar wrote: > This patch intends to cleanup following issues in the header files included in > cpufreq core layers: > - Include headers in ascending order, so that we don't add same multiple times > by mistake. > - must be included after , so that they override whatever they > need. > - Remove unnecessary header files > - Don't include files already included by cpufreq.h or cpufreq_governor.h > > Signed-off-by: Viresh Kumar Fixup due to compilation warning reported by Fengguang's kbuild system: [Latest stuff pushed in my cpufreq-next branch] diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c index 70399ea..ccaf025 100644 --- a/drivers/cpufreq/cpufreq.c +++ b/drivers/cpufreq/cpufreq.c @@ -19,6 +19,7 @@ #include #include +#include #include #include #include