From patchwork Sun Jul 2 16:09:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vincent Legoll X-Patchwork-Id: 9821651 X-Patchwork-Delegate: sboyd@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 29099602F0 for ; Sun, 2 Jul 2017 16:09:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0BA0427FAD for ; Sun, 2 Jul 2017 16:09:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F066E27FC0; Sun, 2 Jul 2017 16:09:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9F79627FAD for ; Sun, 2 Jul 2017 16:09:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751697AbdGBQJk (ORCPT ); Sun, 2 Jul 2017 12:09:40 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:36327 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751635AbdGBQJj (ORCPT ); Sun, 2 Jul 2017 12:09:39 -0400 Received: by mail-wm0-f66.google.com with SMTP id y5so16285289wmh.3; Sun, 02 Jul 2017 09:09:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=PS2G2rw93qzZYqqakmjtjXIzFVYz9rTPX8DO6mShdAQ=; b=JPmO+CTe4jXdkRFXSimb0zAxU1bcheP82MotbqFIw+louuSE/+/+j4dZ9Ws4OB9LN4 O20yU2CqAb/313c6BvPlVR9ro4zRCAhGqb5k1VBnGjIfdJINYK9XwF99Tk2r2gHG5I4h ddFS/Qqsrjn8tf25m1V2EgGEu2WfzQ7hd+B2zXaujfQNwW8hYz9VHL6DfUG0S/cXe3Yr nBioBoJBN7iN1tYw24l5FGER/RTVaJ0+IIk8QDxLY+UhmLtBbc74nE8Bh9duftdChQi6 srHm5nuvYMJEqmHP78HDwsbrtLRXX9LuJYQK7GwNz81OYjeYP5hCZDSWv0Iw/kYLunvZ 4D2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=PS2G2rw93qzZYqqakmjtjXIzFVYz9rTPX8DO6mShdAQ=; b=hLzZMBjvif8SSBkK0iC5FBtSAcQtbDjWFfHNS5/pSJLoq12SR93Aa9nd7JOuum+5wG 8fgYkFbeOyh80gYmcOIlIbol1BU727CWaEeYhFRmGc8fggY6eJoK8FDpVzO9ICovoYRC sAAQJjPQPvnRD0EoLwkISURb3eOfpHp+KjWdOaDKU7loZ+EJcJYNaMKEuP/9O79uHWWv Q2VncOS78tl0xK7Mn/cyW2bT4FLbH2jlfPDfpbwUW/SOBQ68gyerGQ3tYCLlBeU5V3Rg d7PtU0k7FH/hk1N1uGesBx6qKIYfdh1pC/q153swzMTKH+4cgEdDymZ9UXYqOyiRGaz6 vMiw== X-Gm-Message-State: AKS2vOy49eRBFXtIKh07G9W8Pr7ntd2C0msMlketfht2tfmdU6+JfmxB +G3VA+MEnqYXV/hs X-Received: by 10.28.236.83 with SMTP id k80mr12571510wmh.52.1499011777590; Sun, 02 Jul 2017 09:09:37 -0700 (PDT) Received: from localhost.localdomain (se167-2-88-172-169-60.fbx.proxad.net. [88.172.169.60]) by smtp.gmail.com with ESMTPSA id t74sm15443909wmt.19.2017.07.02.09.09.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 02 Jul 2017 09:09:37 -0700 (PDT) From: Vincent Legoll To: linux-kernel@vger.kernel.org, mturquette@baylibre.com, sboyd@codeaurora.org, linux-clk@vger.kernel.org Cc: Vincent Legoll Subject: [PATCH] Make Common clock framework a menuconfig to ease disabling it all Date: Sun, 2 Jul 2017 18:09:28 +0200 Message-Id: <1499011768-8046-1-git-send-email-vincent.legoll@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP No need to get into the submenu to disable all common clock framework -related config entries Signed-off-by: Vincent Legoll --- drivers/clk/Kconfig | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index 36cfea3..a1b174c 100644 --- a/drivers/clk/Kconfig +++ b/drivers/clk/Kconfig @@ -19,9 +19,12 @@ config COMMON_CLK Architectures utilizing the common struct clk should select this option. -menu "Common Clock Framework" +menuconfig COMMON_CLK_FRAMEWORK + tristate "Common Clock Framework" depends on COMMON_CLK +if COMMON_CLK_FRAMEWORK + config COMMON_CLK_WM831X tristate "Clock driver for WM831x/2x PMICs" depends on MFD_WM831X @@ -230,4 +233,4 @@ source "drivers/clk/tegra/Kconfig" source "drivers/clk/ti/Kconfig" source "drivers/clk/uniphier/Kconfig" -endmenu +endif # COMMON_CLK_FRAMEWORK