Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755713Ab3HRV6f (ORCPT ); Sun, 18 Aug 2013 17:58:35 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:53860 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754812Ab3HRV6c (ORCPT ); Sun, 18 Aug 2013 17:58:32 -0400 X-AuditID: cbfee690-b7f6f6d00000740c-90-521143876ff2 From: Kukjin Kim To: "'amit daniel kachhap'" , "'Viresh Kumar'" Cc: "'Rafael J. Wysocki'" , "'linaro-kernel'" , patches@linaro.org, cpufreq@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org References: In-reply-to: Subject: RE: [PATCH 13/37] cpufreq: exynos: don't initialize part of policy that is set by core too Date: Mon, 19 Aug 2013 06:58:31 +0900 Message-id: <15fc01ce9c5e$13e53390$3baf9ab0$@org> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac6cAL1KahLfOWKpRpW/bc1Ir4J2uwAXTwDg Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrPIsWRmVeSWpSXmKPExsVy+t8zfd12Z8Egg31LtCwaroZYPG36wW7x /tAzZovLu+awWXzuPcJoMeXwFxaL/oW9TBYbv3o4cHjcubaHzeP2v8fMHn1bVjF6PFrcwujx eZNcAGsUl01Kak5mWWqRvl0CV8bT2U9ZC07xV8x6e4qxgXElTxcjJ4eEgIlEz6RlbBC2mMSF e+uBbC4OIYFljBJvt6xngylacX0NC4gtJLCIUWL6XGeIor+MEm8WdLB3MXJwsAkoSzQ26YPU CAtoSSzc0gRWLyIQL3F/z2smkHpmgUOMEv9arkMNusooMfmeK0gvp0CwxJ8F7hC9qRK9uy6D 7WURUJVY19jFDmLzChhKTOxexgphC0r8mHwPbAwz0K71O48zQdjyEpvXvGUGGSkhoC7x6K8u xAlGEjdb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f3MwK4nwsqgJ BgnxpiRWVqUW5ccXleakFh9iTAZ6dCKzlGhyPjCl5ZXEGxqbmBlZGplZGJmYm5MmrCTOe7DV OlBIID2xJDU7NbUgtQhmCxMHp1QDo4HlrV97JCzTV5xjyJ7z6DdL7b2aHoH4r9H7v1ZuU/i9 Luu455Uz3ya0uL6Yv9P0sciyhmNzLzA9Mro36eCxt29qvL+dX5p52Pp823eeB0+MXyY9inWv ib70/UPgxXuGrp/fz3rJeKePZ5esBuOuDUfm+3A+2t106n1j1OOPv9z4lVr/NUTsvOOjxFKc kWioxVxUnAgA/ISFqF8DAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2176 Lines: 68 amit daniel kachhap wrote: > > On Wed, Aug 14, 2013 at 7:02 PM, Viresh Kumar > wrote: > > 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: Kukjin Kim Acked-by: Kukjin Kim Thanks, Kukjin > > Signed-off-by: Viresh Kumar > This consolidation work looks fine, > Acked-By: Amit Daniel Kachhap > > Thanks, > Amit > > --- > > drivers/cpufreq/exynos-cpufreq.c | 2 -- > > drivers/cpufreq/exynos5440-cpufreq.c | 1 - > > 2 files changed, 3 deletions(-) > > > > diff --git a/drivers/cpufreq/exynos-cpufreq.c b/drivers/cpufreq/exynos- > cpufreq.c > > index 79b869b..b1db082 100644 > > --- a/drivers/cpufreq/exynos-cpufreq.c > > +++ b/drivers/cpufreq/exynos-cpufreq.c > > @@ -226,8 +226,6 @@ static struct notifier_block exynos_cpufreq_nb = { > > > > static int exynos_cpufreq_cpu_init(struct cpufreq_policy *policy) > > { > > - policy->cur = policy->min = policy->max = exynos_getspeed(policy- > >cpu); > > - > > /* set the transition latency value */ > > policy->cpuinfo.transition_latency = 100000; > > > > diff --git a/drivers/cpufreq/exynos5440-cpufreq.c > b/drivers/cpufreq/exynos5440-cpufreq.c > > index 9a5ed485..91a64d6 100644 > > --- a/drivers/cpufreq/exynos5440-cpufreq.c > > +++ b/drivers/cpufreq/exynos5440-cpufreq.c > > @@ -316,7 +316,6 @@ static int exynos_cpufreq_cpu_init(struct > cpufreq_policy *policy) > > return ret; > > } > > > > - policy->cur = dvfs_info->cur_frequency; > > policy->cpuinfo.transition_latency = dvfs_info->latency; > > cpumask_setall(policy->cpus); > > > > -- > > 1.7.12.rc2.18.g61b472e -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/