Message ID | 9ce16082a5851781b49b0fe5918a55588126b3d9.1401192160.git.viresh.kumar@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCRIZROPVQPBBK4ASKOAKGQEH4T4PGA@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f198.google.com (mail-qc0-f198.google.com [209.85.216.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 42B58203C3 for <linaro@patches.linaro.org>; Tue, 27 May 2014 12:08:11 +0000 (UTC) Received: by mail-qc0-f198.google.com with SMTP id m20sf32871551qcx.5 for <linaro@patches.linaro.org>; Tue, 27 May 2014 05:08:11 -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 :sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=vTT70KIrbxubz3fEJj5O4uSnHNLLrFAhP33QYQSrB2E=; b=k4KaZjbRucoR+Gk5Qi5bjpi00uDmq3IYe5iQtzChQIGwl4eG1d9UKu6w0FJKKbAMnQ QBZFuFhDwC9zjHxiUR7U2+QpMr1PGgF2AiGeP1yRUzDQc7otuv7NyK2WRkTCrqoIU/gh jeI0BgVhcv2A7xwYpzrvlyROTgjgQhy4b9B8lJFKBrGIcMX02HJluqbwl5U1We30jy5v TcbgUdWiXVyDNCLztM0NQ5r9Ll2UE+JMV03MEt7itPXcnBp8PxxmVCvZP35JbcYov+Pe 0dTgmod91TQj6MSnvouOIDuA4C51n/cRbY0EpOpfw27iEQ3HuQIz0gEtM+pjgmckJyqJ F2uA== X-Gm-Message-State: ALoCoQlvQMDFCXBfsc21yDhnhG/kx2Abqd4BmAWSyBAsFM5jxt7KYPXquwmWUKZI4PIBGqw33KZq X-Received: by 10.236.199.108 with SMTP id w72mr11474904yhn.10.1401192491152; Tue, 27 May 2014 05:08:11 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.87.141 with SMTP id r13ls3159894qgd.98.gmail; Tue, 27 May 2014 05:08:11 -0700 (PDT) X-Received: by 10.58.34.72 with SMTP id x8mr256405vei.61.1401192491048; Tue, 27 May 2014 05:08:11 -0700 (PDT) Received: from mail-ve0-f175.google.com (mail-ve0-f175.google.com [209.85.128.175]) by mx.google.com with ESMTPS id 3si7950640vds.38.2014.05.27.05.08.11 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 27 May 2014 05:08:11 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.175 as permitted sender) client-ip=209.85.128.175; Received: by mail-ve0-f175.google.com with SMTP id jw12so10557812veb.34 for <patchwork-forward@linaro.org>; Tue, 27 May 2014 05:08:10 -0700 (PDT) X-Received: by 10.220.53.72 with SMTP id l8mr26728702vcg.16.1401192490747; Tue, 27 May 2014 05:08:10 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp113613vcb; Tue, 27 May 2014 05:08:10 -0700 (PDT) X-Received: by 10.68.129.132 with SMTP id nw4mr35909130pbb.46.1401192489878; Tue, 27 May 2014 05:08:09 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qq2si18435899pbb.105.2014.05.27.05.08.09 for <sandeep.tripathy@linaro.org>; Tue, 27 May 2014 05:08:09 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752305AbaE0MIF (ORCPT <rfc822;sandeep.tripathy@linaro.org> + 27 others); Tue, 27 May 2014 08:08:05 -0400 Received: from mail-pa0-f44.google.com ([209.85.220.44]:62768 "EHLO mail-pa0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752252AbaE0MIC (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 27 May 2014 08:08:02 -0400 Received: by mail-pa0-f44.google.com with SMTP id ld10so9031509pab.17 for <linux-kernel@vger.kernel.org>; Tue, 27 May 2014 05:08:02 -0700 (PDT) X-Received: by 10.66.250.166 with SMTP id zd6mr35649575pac.7.1401192482127; Tue, 27 May 2014 05:08:02 -0700 (PDT) Received: from localhost ([223.227.245.64]) by mx.google.com with ESMTPSA id og3sm18398297pbc.48.2014.05.27.05.07.56 for <multiple recipients> (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 27 May 2014 05:08:01 -0700 (PDT) From: Viresh Kumar <viresh.kumar@linaro.org> To: rjw@rjwysocki.net Cc: linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, arvind.chauhan@arm.com, edubezval@gmail.com, pavel@ucw.cz, lgirdwood@gmail.com, broonie@kernel.org, Viresh Kumar <viresh.kumar@linaro.org> Subject: [PATCH V2 2/2] cpufreq: cpufreq-cpu0: remove dependency on THERMAL and REGULATOR Date: Tue, 27 May 2014 17:37:30 +0530 Message-Id: <9ce16082a5851781b49b0fe5918a55588126b3d9.1401192160.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.0.0.rc2 In-Reply-To: <1780c3205893be8567fa29ccd86674e2f32555b4.1401192160.git.viresh.kumar@linaro.org> References: <1780c3205893be8567fa29ccd86674e2f32555b4.1401192160.git.viresh.kumar@linaro.org> In-Reply-To: <1780c3205893be8567fa29ccd86674e2f32555b4.1401192160.git.viresh.kumar@linaro.org> References: <1780c3205893be8567fa29ccd86674e2f32555b4.1401192160.git.viresh.kumar@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: viresh.kumar@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.175 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@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/Kconfig b/drivers/cpufreq/Kconfig index 1fbe11f..e473d65 100644 --- a/drivers/cpufreq/Kconfig +++ b/drivers/cpufreq/Kconfig @@ -185,7 +185,7 @@ config CPU_FREQ_GOV_CONSERVATIVE config GENERIC_CPUFREQ_CPU0 tristate "Generic CPU0 cpufreq driver" - depends on HAVE_CLK && REGULATOR && OF && THERMAL && CPU_THERMAL + depends on HAVE_CLK && OF select PM_OPP help This adds a generic cpufreq driver for CPU0 frequency management.
cpufreq-cpu0 uses thermal framework to register a cooling device, but doesn't depend on it as there are dummy calls provided by thermal layer when CONFIG_THERMAL=n. And when these calls fail, the driver is still usable. Similar explanation is valid for regulators as well. We do have dummy calls available for regulator APIs and the driver can work even when those calls fail. So, we don't really need to mention thermal and regulators as a dependency for cpufreq-cpu0 in Kconfig. Remove it. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> --- V1-V2: Remove dependency on REGULATORs as well. drivers/cpufreq/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)