Message ID | ac49520313bc0779fbac212ad0396c36b7e25b6e.1376486714.git.viresh.kumar@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCRIZROPVQPBB34PV2IAKGQELOVQZQY@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f199.google.com (mail-qc0-f199.google.com [209.85.216.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id AF1462390D for <linaro@patches.linaro.org>; Wed, 14 Aug 2013 13:36:47 +0000 (UTC) Received: by mail-qc0-f199.google.com with SMTP id j10sf10990298qcx.2 for <linaro@patches.linaro.org>; Wed, 14 Aug 2013 06:36:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; 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=W/a2PgCOEEP3lJjRnxLtDnoGAwF3VdvDWHdLTVUn4i8=; b=jINeUlJB5VRghgSnlxRl3HedcD0+L5lvCrho1syB0ck3phQjIrwL2MPti8AxRjVt8w XoZ8rEEyUdmEERNNFCOOBzo34O32Kav0BE9q0WEalBsIWP3M3Gxmn8zIhjadoM5I9mAg JNAXczV0WU22j6FCWqHHyevIxvV3+A8Zt/3bttwNPp0eTbANmh4QuYcKFTKfwsqcQEi8 It7LBENnjQzKhBbarBscowOLtw8qz74ptTez5ZKpF9qEavavk8CcfJdo4PsZNiFV0u8c 18VxljrPEfxq6w2t61GLjM9BfGjXBqVMHEAkFuN/iInkE203SmKtCb6GctmF3cc0LDAj r4Jg== X-Received: by 10.58.205.143 with SMTP id lg15mr2485886vec.13.1376487407400; Wed, 14 Aug 2013 06:36:47 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.81.179 with SMTP id b19ls3234004qey.31.gmail; Wed, 14 Aug 2013 06:36:47 -0700 (PDT) X-Received: by 10.58.155.37 with SMTP id vt5mr118996veb.41.1376487407302; Wed, 14 Aug 2013 06:36:47 -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 vf5si10991067vdc.135.2013.08.14.06.36.47 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 14 Aug 2013 06:36:47 -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 p13so7592385vbe.19 for <patchwork-forward@linaro.org>; Wed, 14 Aug 2013 06:36:47 -0700 (PDT) X-Gm-Message-State: ALoCoQnVkapiN/PNdg432dO5FMyIUewtMhO9o14HYwQKQgZ7Tb5yArnH0dJgcXXcqNfH63cL8pZX X-Received: by 10.58.252.134 with SMTP id zs6mr4659665vec.25.1376487407193; Wed, 14 Aug 2013 06:36:47 -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 u4csp213261vcz; Wed, 14 Aug 2013 06:36:46 -0700 (PDT) X-Received: by 10.66.21.37 with SMTP id s5mr10087823pae.103.1376487406279; Wed, 14 Aug 2013 06:36:46 -0700 (PDT) Received: from mail-pb0-f47.google.com (mail-pb0-f47.google.com [209.85.160.47]) by mx.google.com with ESMTPS id yl7si29407844pab.116.2013.08.14.06.36.45 for <patches@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 14 Aug 2013 06:36:46 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.47 is neither permitted nor denied by best guess record for domain of viresh.kumar@linaro.org) client-ip=209.85.160.47; Received: by mail-pb0-f47.google.com with SMTP id rr4so9277041pbb.20 for <patches@linaro.org>; Wed, 14 Aug 2013 06:36:45 -0700 (PDT) X-Received: by 10.66.161.229 with SMTP id xv5mr10066292pab.87.1376487405913; Wed, 14 Aug 2013 06:36:45 -0700 (PDT) Received: from localhost ([122.172.193.46]) by mx.google.com with ESMTPSA id sz6sm53398946pab.5.2013.08.14.06.36.42 for <multiple recipients> (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 14 Aug 2013 06:36:45 -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, Viresh Kumar <viresh.kumar@linaro.org> Subject: [PATCH 32/37] cpufreq: sc520_freq: don't initialize part of policy that is set by core too Date: Wed, 14 Aug 2013 19:02:21 +0530 Message-Id: <ac49520313bc0779fbac212ad0396c36b7e25b6e.1376486714.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 1.7.12.rc2.18.g61b472e In-Reply-To: <cover.1376486713.git.viresh.kumar@linaro.org> References: <cover.1376486713.git.viresh.kumar@linaro.org> In-Reply-To: <cover.1376486713.git.viresh.kumar@linaro.org> References: <cover.1376486713.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/sc520_freq.c b/drivers/cpufreq/sc520_freq.c index cd62472..6c86452 100644 --- a/drivers/cpufreq/sc520_freq.c +++ b/drivers/cpufreq/sc520_freq.c @@ -94,7 +94,6 @@ static int sc520_freq_cpu_init(struct cpufreq_policy *policy) /* cpuinfo and default policy values */ policy->cpuinfo.transition_latency = 1000000; /* 1ms */ - policy->cur = sc520_freq_get_cpu_frequency(0); return cpufreq_table_validate_and_show(policy, sc520_freq_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/sc520_freq.c | 1 - 1 file changed, 1 deletion(-)