From patchwork Fri May 9 18:18:08 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 29917 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f200.google.com (mail-ob0-f200.google.com [209.85.214.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7AFDC20534 for ; Fri, 9 May 2014 18:18:28 +0000 (UTC) Received: by mail-ob0-f200.google.com with SMTP id gq1sf21556752obb.7 for ; Fri, 09 May 2014 11:18:27 -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:date :message-id:subject:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=SVBAWInbTRqf7bqlEQ3HUNt62sIq01ULsZdy9+OP1tI=; b=bsJmRehXa352Ht+a7OQuabc1IZhT0goaK7wHRLzgvTeUm8prR467fpQQC3frOewez+ M2hxMDp8d5voI64cda5Lkuea7YwlpvdFjhaHIZ0Qui+VfYmlVkDOm0Wd5xQgMlkLn6r3 sMxnMbE5rGX7Ex22Ew28oWRF2xs+BxsetdVUT4cBKog46MsbgCBLdpTaqMAocjnuIXjj O3blLwuZeHerpSaxIa+7VL9K2jWXspgJZycrc+/ivbpiPl3X2G1MqZh8IcP98z29XWbe VK/RubsptJ6QKTU0lcJl0IOPL1pYO4kxXgfSzUb+yYJhzss66Mn+3qyONjCPrEUyaAQN b1xQ== X-Gm-Message-State: ALoCoQmaea5Uzc7nrtqCebvH32kkToLg5x4VCO9HCEI+llv0mpQNw2NZOul8VYWmCvIscF8EQtCQ X-Received: by 10.182.227.131 with SMTP id sa3mr5853212obc.38.1399659507857; Fri, 09 May 2014 11:18:27 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.106.201 with SMTP id e67ls424080qgf.94.gmail; Fri, 09 May 2014 11:18:27 -0700 (PDT) X-Received: by 10.52.113.1 with SMTP id iu1mr7917269vdb.35.1399659507653; Fri, 09 May 2014 11:18:27 -0700 (PDT) Received: from mail-ve0-f173.google.com (mail-ve0-f173.google.com [209.85.128.173]) by mx.google.com with ESMTPS id v8si852191vcs.68.2014.05.09.11.18.27 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 09 May 2014 11:18:27 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.173 as permitted sender) client-ip=209.85.128.173; Received: by mail-ve0-f173.google.com with SMTP id pa12so5646081veb.4 for ; Fri, 09 May 2014 11:18:27 -0700 (PDT) X-Received: by 10.58.186.207 with SMTP id fm15mr9537951vec.4.1399659507578; Fri, 09 May 2014 11:18:27 -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 ib8csp101674vcb; Fri, 9 May 2014 11:18:27 -0700 (PDT) X-Received: by 10.66.155.102 with SMTP id vv6mr23131573pab.89.1399659506396; Fri, 09 May 2014 11:18:26 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ab2si2603778pad.96.2014.05.09.11.18.25; Fri, 09 May 2014 11:18:25 -0700 (PDT) Received-SPF: none (google.com: linux-pm-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 S1757152AbaEISSX (ORCPT + 12 others); Fri, 9 May 2014 14:18:23 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:39538 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757135AbaEISSW (ORCPT ); Fri, 9 May 2014 14:18:22 -0400 Received: from cpc11-sgyl31-2-0-cust672.sgyl.cable.virginm.net ([94.175.94.161] helo=debutante.sirena.org.uk) by mezzanine.sirena.org.uk with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1WipN6-0006eH-FR; Fri, 09 May 2014 18:18:17 +0000 Received: from broonie by debutante.sirena.org.uk with local (Exim 4.82) (envelope-from ) id 1WipN3-0003dz-FH; Fri, 09 May 2014 19:18:09 +0100 From: Mark Brown To: "Rafael J. Wysocki" , menon.nishanth@gmail.com Cc: Catalin Marinas , Will Deacon , linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, Mark Brown Date: Fri, 9 May 2014 19:18:08 +0100 Message-Id: <1399659488-13974-1-git-send-email-broonie@kernel.org> X-Mailer: git-send-email 2.0.0.rc2 X-SA-Exim-Connect-IP: 94.175.94.161 X-SA-Exim-Mail-From: broonie@sirena.org.uk X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mezzanine.sirena.org.uk X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.2 Subject: [PATCH] PM / OPP: Make OPP invisible to users in Kconfig X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) Sender: linux-pm-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: broonie@kernel.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.173 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: , List-Help: , List-Archive: List-Unsubscribe: , From: Mark Brown The OPP code is an in kernel library selected by its users, there is no no architecture code required to implement it and enabling it without a user just increases the kernel size. Since the users select rather than depend on it just remove the ability to directly set the option from Kconfig. Signed-off-by: Mark Brown Acked-by: Nishanth Menon Acked-by: Viresh Kumar --- This leaves the ARCH_HAS_OPP symbol since removing that requires updating the relevant architectures, if this is OK I can sumbit a followup patch cleaning that up. kernel/power/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig index 2fac9cc79b3d..9a83d780facd 100644 --- a/kernel/power/Kconfig +++ b/kernel/power/Kconfig @@ -257,8 +257,7 @@ config ARCH_HAS_OPP bool config PM_OPP - bool "Operating Performance Point (OPP) Layer library" - depends on ARCH_HAS_OPP + bool ---help--- SOCs have a standard set of tuples consisting of frequency and voltage pairs that the device will support per voltage domain. This