From patchwork Mon Aug 3 03:06:19 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 51839 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by patches.linaro.org (Postfix) with ESMTPS id 782E1229FD for ; Mon, 3 Aug 2015 03:07:30 +0000 (UTC) Received: by wijp15 with SMTP id p15sf9022364wij.3 for ; Sun, 02 Aug 2015 20:07:29 -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 :sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=Et9kJOc6CrthxxwVBpAoqAyJN5tjzwE83XtcaYXXvtA=; b=PM3mm76/Qe4jPZb4tZSieOVjAr089qTs9ooglVMz4CFb8nmZdtLpMIC80flAd0Iu6B mnEq3NioFBNLRCPRIvx7wHL9MkJsRdrVtuMiaEBBKQmNFClvE2iymxOhdZZ1l5rU5y/W zlVk3sjXzXh32d0f/7AzxpI4w6s2vkOuOkUk3Vbbppff2Zq4kpWy+D32gGJc3QR2DzRW dXY8ry4F38eJvTyRkq1S3c/RaS8mtsyWSwUlJhcnrZP/2MdgdKnDzvPjzWYEvbee7HO0 K1+SVGcErQAxL7oYV413YOz9K5+vOtl+VPf2H/W216SklXKls923frKNOqPw0s6f135D eBEg== X-Gm-Message-State: ALoCoQmXmxyYTf1aSA+HkBl7M9cd2XwN/6+ryT7Ih5hjNVwwx4biWrefJR6/FoeyQyV/TbjxZo2G X-Received: by 10.194.188.104 with SMTP id fz8mr4868217wjc.1.1438571249834; Sun, 02 Aug 2015 20:07:29 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.28.100 with SMTP id a4ls529402lah.52.gmail; Sun, 02 Aug 2015 20:07:29 -0700 (PDT) X-Received: by 10.112.118.41 with SMTP id kj9mr13252606lbb.123.1438571249642; Sun, 02 Aug 2015 20:07:29 -0700 (PDT) Received: from mail-la0-f44.google.com (mail-la0-f44.google.com. [209.85.215.44]) by mx.google.com with ESMTPS id ls9si389606lac.7.2015.08.02.20.07.29 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 02 Aug 2015 20:07:29 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) client-ip=209.85.215.44; Received: by labpt2 with SMTP id pt2so6669575lab.0 for ; Sun, 02 Aug 2015 20:07:29 -0700 (PDT) X-Received: by 10.112.125.34 with SMTP id mn2mr13282630lbb.76.1438571249363; Sun, 02 Aug 2015 20:07:29 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.7.198 with SMTP id l6csp1626733lba; Sun, 2 Aug 2015 20:07:27 -0700 (PDT) X-Received: by 10.70.134.99 with SMTP id pj3mr3169745pdb.78.1438571246795; Sun, 02 Aug 2015 20:07:26 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c9si23931296pas.144.2015.08.02.20.07.25; Sun, 02 Aug 2015 20:07:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752826AbbHCDHE (ORCPT + 28 others); Sun, 2 Aug 2015 23:07:04 -0400 Received: from mail-pd0-f169.google.com ([209.85.192.169]:35077 "EHLO mail-pd0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752770AbbHCDG7 (ORCPT ); Sun, 2 Aug 2015 23:06:59 -0400 Received: by pdrg1 with SMTP id g1so68031559pdr.2 for ; Sun, 02 Aug 2015 20:06:58 -0700 (PDT) X-Received: by 10.70.134.133 with SMTP id pk5mr31167267pdb.133.1438571218919; Sun, 02 Aug 2015 20:06:58 -0700 (PDT) Received: from localhost ([122.171.186.190]) by smtp.gmail.com with ESMTPSA id iu10sm6006356pbd.5.2015.08.02.20.06.58 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 02 Aug 2015 20:06:58 -0700 (PDT) From: Viresh Kumar To: Rafael Wysocki Cc: linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, Viresh Kumar , linux-kernel@vger.kernel.org (open list) Subject: [PATCH 6/7] cpufreq: rename cpufreq_real_policy as cpufreq_user_policy Date: Mon, 3 Aug 2015 08:36:19 +0530 Message-Id: <769b610d34870926a148edcd3ce2308eff497a6a.1438571116.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.4.0 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: viresh.kumar@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Its all about caching min/max freq requested by userspace, and the name 'cpufreq_real_policy' doesn't fit that well. Rename it to cpufreq_user_policy. Signed-off-by: Viresh Kumar --- include/linux/cpufreq.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h index 54dbbff0a55e..6ff6a4d95eea 100644 --- a/include/linux/cpufreq.h +++ b/include/linux/cpufreq.h @@ -51,7 +51,7 @@ struct cpufreq_cpuinfo { unsigned int transition_latency; }; -struct cpufreq_real_policy { +struct cpufreq_user_policy { unsigned int min; /* in kHz */ unsigned int max; /* in kHz */ }; @@ -86,7 +86,7 @@ struct cpufreq_policy { struct work_struct update; /* if update_policy() needs to be * called, but you're in IRQ context */ - struct cpufreq_real_policy user_policy; + struct cpufreq_user_policy user_policy; struct cpufreq_frequency_table *freq_table; struct list_head policy_list;