Message ID | 931996f14c59f67a8945fafd95967f0be93776ba.1379063063.git.viresh.kumar@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCRIZROPVQPBBBVAZSIQKGQEE6PLMBQ@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qe0-f71.google.com (mail-qe0-f71.google.com [209.85.128.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id ABC1C20358 for <linaro@patches.linaro.org>; Fri, 13 Sep 2013 13:15:50 +0000 (UTC) Received: by mail-qe0-f71.google.com with SMTP id a11sf1221317qen.6 for <linaro@patches.linaro.org>; Fri, 13 Sep 2013 06:15:50 -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=xij6mA+E9UpJ7dmbXaGlk1FCj16Lfr3RfUUKU3h77TQ=; b=jBxvH81vPv1m5/zhvLXKyeDMXdPWwV/lFPL+fHXfcE1vngkJIV/Xs/bZhXu+ZaQnsn oJZ/zXG+nK+kCIfudlXHkpVZkfodNGOOrdTLmz82rS5Y1VlRg8t9SN1nEvMD9z8YjMtR HgxjLhuRf2PnlWdRr8Lfd09WnxyEcn8+U/Xc5vtJYNaMEncrjOqN2+9YYPpHA6tbGS3y THHK81DdMfVFqrp59sm/56fKXcn4uUuClMO/LZZsrQyPzxLyQRoOtou3Wfbzv4Ulkbjb W4cZC35F3vxd04AFtc2GnrqbaYoCzaKOdAOJaicD9qArJ2y8Z+C3zrE/+HBningMQ42h 8laQ== X-Gm-Message-State: ALoCoQlgxxUHh7pDbuXvlZkx0jFoS6Ww59+j0W1WZ9iDKxwnvOAjPY69/AnxG7xuOF/sAMiFcXO4 X-Received: by 10.236.6.134 with SMTP id 6mr5288940yhn.7.1379078150401; Fri, 13 Sep 2013 06:15:50 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.87.36 with SMTP id u4ls1156140qez.56.gmail; Fri, 13 Sep 2013 06:15:50 -0700 (PDT) X-Received: by 10.58.171.4 with SMTP id aq4mr1616591vec.26.1379078150176; Fri, 13 Sep 2013 06:15:50 -0700 (PDT) Received: from mail-vb0-f46.google.com (mail-vb0-f46.google.com [209.85.212.46]) by mx.google.com with ESMTPS id se9si3115510vdc.23.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Sep 2013 06:15:50 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.46 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.46; Received: by mail-vb0-f46.google.com with SMTP id p13so885459vbe.5 for <patchwork-forward@linaro.org>; Fri, 13 Sep 2013 06:15:50 -0700 (PDT) X-Received: by 10.220.11.7 with SMTP id r7mr12027769vcr.12.1379078150087; Fri, 13 Sep 2013 06:15:50 -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 u4csp80074vcz; Fri, 13 Sep 2013 06:15:49 -0700 (PDT) X-Received: by 10.66.49.68 with SMTP id s4mr15172133pan.98.1379078149204; Fri, 13 Sep 2013 06:15:49 -0700 (PDT) Received: from mail-pa0-f44.google.com (mail-pa0-f44.google.com [209.85.220.44]) by mx.google.com with ESMTPS id lp9si11136304pab.337.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Sep 2013 06:15:49 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.44 is neither permitted nor denied by best guess record for domain of viresh.kumar@linaro.org) client-ip=209.85.220.44; Received: by mail-pa0-f44.google.com with SMTP id fz6so2501637pac.17 for <patches@linaro.org>; Fri, 13 Sep 2013 06:15:48 -0700 (PDT) X-Received: by 10.68.59.38 with SMTP id w6mr12393841pbq.135.1379078148581; Fri, 13 Sep 2013 06:15:48 -0700 (PDT) Received: from localhost ([122.167.78.148]) by mx.google.com with ESMTPSA id vz4sm18045892pab.11.1969.12.31.16.00.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 13 Sep 2013 06:15:48 -0700 (PDT) From: Viresh Kumar <viresh.kumar@linaro.org> 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, linux-arm-kernel@lists.infradead.org, Viresh Kumar <viresh.kumar@linaro.org> Subject: [PATCH 108/228] cpufreq: longhaul: don't initialize part of policy that is set by core too Date: Fri, 13 Sep 2013 18:30:54 +0530 Message-Id: <931996f14c59f67a8945fafd95967f0be93776ba.1379063063.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 1.7.12.rc2.18.g61b472e In-Reply-To: <cover.1379063063.git.viresh.kumar@linaro.org> References: <cover.1379063063.git.viresh.kumar@linaro.org> In-Reply-To: <cover.1379063063.git.viresh.kumar@linaro.org> References: <cover.1379063063.git.viresh.kumar@linaro.org> 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.212.46 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: <patchwork-forward.linaro.org> X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> |
diff --git a/drivers/cpufreq/longhaul.c b/drivers/cpufreq/longhaul.c index 57d7b02..14df497 100644 --- a/drivers/cpufreq/longhaul.c +++ b/drivers/cpufreq/longhaul.c @@ -913,7 +913,6 @@ static int longhaul_cpu_init(struct cpufreq_policy *policy) longhaul_setup_voltagescaling(); policy->cpuinfo.transition_latency = 200000; /* nsec */ - policy->cur = calc_speed(longhaul_get_cpu_mult()); return cpufreq_table_validate_and_show(policy, longhaul_table); }
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> --- drivers/cpufreq/longhaul.c | 1 - 1 file changed, 1 deletion(-)