Message ID | 612914b58af33ab814bed3066046aadd19bd7ec6.1376486713.git.viresh.kumar@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCRIZROPVQPBBI4OV2IAKGQEBOQG2UI@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vb0-f72.google.com (mail-vb0-f72.google.com [209.85.212.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9730E2390D for <linaro@patches.linaro.org>; Wed, 14 Aug 2013 13:33:23 +0000 (UTC) Received: by mail-vb0-f72.google.com with SMTP id f12sf418515vbg.11 for <linaro@patches.linaro.org>; Wed, 14 Aug 2013 06:33:23 -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=kyfb5juL/ocFsz7NHFOEkY4ApkfRRSzLqa3gTjKBQfE=; b=nvLAhG0rgCjjDNEJ2It6IfRNW9HOjpk7e2ZPCv7q6Y2Vj3dE2DUoGm9rBINLdfOcj4 YPSyuvbG6uf/D+v37za4Ah3HF714cdV/rKEybfBaTQGm5siPtkJqu9bKNdUQ/9e+FdDo xrw6HmS55b6F57aLupt6lG77BBVsuJNXkisFBohv1QAMcdY18PCWUEqgRiNtTkzckKoy xDKZMwN59AhfWqDe/7iCeTF/K24X53dK7szVzNNG+CjaJoEn/qcgxQvn/D4TLJpRHKFQ LAY+RJ0nOtzMUpl1tQERZ+YfaVCwfmDMQGRsUhAl6XpnihddwPMyHnLtkJHgmMGXwQcC AYnQ== X-Received: by 10.52.166.67 with SMTP id ze3mr2150863vdb.4.1376487203341; Wed, 14 Aug 2013 06:33:23 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.121.195 with SMTP id lm3ls3246697qeb.89.gmail; Wed, 14 Aug 2013 06:33:23 -0700 (PDT) X-Received: by 10.52.38.197 with SMTP id i5mr65099vdk.66.1376487203237; Wed, 14 Aug 2013 06:33:23 -0700 (PDT) Received: from mail-vc0-f172.google.com (mail-vc0-f172.google.com [209.85.220.172]) by mx.google.com with ESMTPS id ix2si11029379vdb.20.2013.08.14.06.33.23 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 14 Aug 2013 06:33:23 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.172 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.172; Received: by mail-vc0-f172.google.com with SMTP id m17so5124276vca.17 for <patchwork-forward@linaro.org>; Wed, 14 Aug 2013 06:33:23 -0700 (PDT) X-Gm-Message-State: ALoCoQlTo/nwFzS6oFjOYf3QfTI+WFwK+YJYS9n53UCAX5SrdSr1vRSYR1zecD56KXSx5z/cLoCI X-Received: by 10.58.227.198 with SMTP id sc6mr79349vec.59.1376487203144; Wed, 14 Aug 2013 06:33:23 -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 u4csp213063vcz; Wed, 14 Aug 2013 06:33:22 -0700 (PDT) X-Received: by 10.68.251.234 with SMTP id zn10mr1119093pbc.188.1376487202113; Wed, 14 Aug 2013 06:33:22 -0700 (PDT) Received: from mail-pd0-f177.google.com (mail-pd0-f177.google.com [209.85.192.177]) by mx.google.com with ESMTPS id co1si28237057pbc.258.2013.08.14.06.33.21 for <patches@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 14 Aug 2013 06:33:22 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.177 is neither permitted nor denied by best guess record for domain of viresh.kumar@linaro.org) client-ip=209.85.192.177; Received: by mail-pd0-f177.google.com with SMTP id y10so175746pdj.8 for <patches@linaro.org>; Wed, 14 Aug 2013 06:33:21 -0700 (PDT) X-Received: by 10.66.231.42 with SMTP id td10mr2935461pac.144.1376487201703; Wed, 14 Aug 2013 06:33:21 -0700 (PDT) Received: from localhost ([122.172.193.46]) by mx.google.com with ESMTPSA id xs1sm5226108pac.7.2013.08.14.06.33.17 for <multiple recipients> (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 14 Aug 2013 06:33:21 -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>, Steven Miao <realmz6@gmail.com> Subject: [PATCH 05/37] cpufreq: blackfin: don't initialize part of policy that is set by core too Date: Wed, 14 Aug 2013 19:01:54 +0530 Message-Id: <612914b58af33ab814bed3066046aadd19bd7ec6.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.172 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/blackfin-cpufreq.c b/drivers/cpufreq/blackfin-cpufreq.c index b343c7b..12528b2 100644 --- a/drivers/cpufreq/blackfin-cpufreq.c +++ b/drivers/cpufreq/blackfin-cpufreq.c @@ -195,7 +195,6 @@ static int __bfin_cpu_init(struct cpufreq_policy *policy) policy->cpuinfo.transition_latency = 50000; /* 50us assumed */ - policy->cur = cclk; return cpufreq_table_validate_and_show(policy, bfin_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: Steven Miao <realmz6@gmail.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> --- drivers/cpufreq/blackfin-cpufreq.c | 1 - 1 file changed, 1 deletion(-)