Message ID | f52b0b6a54102c80abcfcc4011726bb15c076e50.1376486713.git.viresh.kumar@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCRIZROPVQPBBDMPV2IAKGQE3BYZEGI@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f72.google.com (mail-qa0-f72.google.com [209.85.216.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 744E62390D for <linaro@patches.linaro.org>; Wed, 14 Aug 2013 13:35:09 +0000 (UTC) Received: by mail-qa0-f72.google.com with SMTP id o19sf5418085qap.3 for <linaro@patches.linaro.org>; Wed, 14 Aug 2013 06:35:09 -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=+xat2JTFjbfg9XCWhxRYgIa49Tj0XwP/hpcmxRm7oAI=; b=ky7NqFqf2Lz+Kamv00FaNLebe+R+QUqlLA/lpc4vopncYTbe9AKxFttnI9m8HmzT1/ OOHqs1WI48cYaZCWXA9rSpHqh3InyShJhI4/McnbSn57/5A2KuxOzQ/JWD9fgt4ukm28 FFcQIP2kOMY9YnYnJ/3i6YaPld/v0PUeJQPSolj83cUW7zsa+X0/67UjRwYzZbiK2nS5 K756ahn+Y4LzAbrPRBj1QHOvzrwzyndh4Tfb64KkcV62BLjMCVne6VS4xB2ymrrHpcFV zmMTUTOTyUUwbDpmLUKFbnUOKUUqr5BLrU8TGrjznVDNYbQlwo1vzHlykVqYNHeNPCuh W+GA== X-Received: by 10.58.46.172 with SMTP id w12mr2288150vem.16.1376487309180; Wed, 14 Aug 2013 06:35:09 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.130.196 with SMTP id og4ls3258828qeb.69.gmail; Wed, 14 Aug 2013 06:35:09 -0700 (PDT) X-Received: by 10.52.0.52 with SMTP id 20mr8232950vdb.22.1376487309099; Wed, 14 Aug 2013 06:35:09 -0700 (PDT) Received: from mail-vc0-f177.google.com (mail-vc0-f177.google.com [209.85.220.177]) by mx.google.com with ESMTPS id x7si11032278vdo.9.2013.08.14.06.35.09 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 14 Aug 2013 06:35:09 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.177 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.177; Received: by mail-vc0-f177.google.com with SMTP id gf12so5009920vcb.8 for <patchwork-forward@linaro.org>; Wed, 14 Aug 2013 06:35:09 -0700 (PDT) X-Gm-Message-State: ALoCoQnWgzA2ZNgAkRS6+8n00W6j5LHHkUMEj8F4iRzg6LF3hJrLrYAz6TlOE9ZM23CrxdhTSvsO X-Received: by 10.58.45.70 with SMTP id k6mr9837845vem.9.1376487309011; Wed, 14 Aug 2013 06:35:09 -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 u4csp213158vcz; Wed, 14 Aug 2013 06:35:08 -0700 (PDT) X-Received: by 10.66.253.40 with SMTP id zx8mr1355005pac.71.1376487308201; Wed, 14 Aug 2013 06:35:08 -0700 (PDT) Received: from mail-pd0-f174.google.com (mail-pd0-f174.google.com [209.85.192.174]) by mx.google.com with ESMTPS id os4si29397291pac.149.2013.08.14.06.35.07 for <patches@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 14 Aug 2013 06:35:08 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.174 is neither permitted nor denied by best guess record for domain of viresh.kumar@linaro.org) client-ip=209.85.192.174; Received: by mail-pd0-f174.google.com with SMTP id y13so6312725pdi.5 for <patches@linaro.org>; Wed, 14 Aug 2013 06:35:07 -0700 (PDT) X-Received: by 10.68.5.228 with SMTP id v4mr9968301pbv.117.1376487307755; Wed, 14 Aug 2013 06:35:07 -0700 (PDT) Received: from localhost ([122.172.193.46]) by mx.google.com with ESMTPSA id t9sm50329348pba.46.2013.08.14.06.35.04 for <multiple recipients> (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 14 Aug 2013 06:35:07 -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>, Andrew Lunn <andrew@lunn.ch> Subject: [PATCH 18/37] cpufreq: kirkwood: don't initialize part of policy that is set by core too Date: Wed, 14 Aug 2013 19:02:07 +0530 Message-Id: <f52b0b6a54102c80abcfcc4011726bb15c076e50.1376486713.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.220.177 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/kirkwood-cpufreq.c b/drivers/cpufreq/kirkwood-cpufreq.c index d0d107a..c3d6987 100644 --- a/drivers/cpufreq/kirkwood-cpufreq.c +++ b/drivers/cpufreq/kirkwood-cpufreq.c @@ -109,7 +109,6 @@ static int kirkwood_cpufreq_cpu_init(struct cpufreq_policy *policy) { /* cpuinfo and default policy values */ policy->cpuinfo.transition_latency = 5000; /* 5uS */ - policy->cur = kirkwood_cpufreq_get_cpu_frequency(0); return cpufreq_table_validate_and_show(policy, kirkwood_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(). Cc: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> --- drivers/cpufreq/kirkwood-cpufreq.c | 1 - 1 file changed, 1 deletion(-)