From patchwork Sun Feb 26 05:39:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 61564 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1809344wrd; Sat, 25 Feb 2023 21:41:02 -0800 (PST) X-Google-Smtp-Source: AK7set93yRM1UWcqhqh5mYXZWsNkt6CzFhGZO/9I2e7sPn6KQW4SDv2zgRfWg2gOIFiFO/qNqMxS X-Received: by 2002:a17:902:f547:b0:19a:c65d:f93 with SMTP id h7-20020a170902f54700b0019ac65d0f93mr18115136plf.53.1677390061742; Sat, 25 Feb 2023 21:41:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677390061; cv=none; d=google.com; s=arc-20160816; b=jR3hg8er8AEBEwRJX95lb0NnvDxrVKhJ3nvtI8mLPrBibGTHcOrS/BTL9c0O9PsKPu TPyPDPzcN1o3mAEfjEmRFR1kh5GSsjh/IB2BApOSmZ3DTkh1al8eagpBCyt8bT0OJOXT I7tahsmWuqXUMcHGUsDVlhO8S54clH7M8lh1NieVCdDhUO6AWE37/FP8D4zUxG02QsKU +s73+x1eOzL9hSdsu5vhcx03NqkuNrMLMBwk+8bfIp3E9JumyY5cMV/89+MxmAQMuuJr A1RNV5Cjj/La+IzL0I/tsjsIiR0950PWzSUnVTKd17cI12b64UFZRh+dLsV8o4PGkGVO rA7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=5EL3h3gDbv1fOup+zFv/dxa8dkjfhZsLYy7zEK7AZjE=; b=q3+0N3VjMzAO5Ba9eScKxRe8lcD6mANi2aKn9ina60uPpd22QAzFVdJZNc7VHMUMJW 8q29Jyvw9YYDMlgsJvfgpvjHGvgl8ted3i9o7KhQ6kpD+taq+EdRP9U62i5/VO+MQfIg WHJ1lHPEVPj0RCGb3cAsQT3zXsulet4T8EE+7hzzsPXdckIrVXX0CCeiI7msGxPzLP37 RQOzEVM/EBgv5il+ItX1uiDJq5z6qA7j+fKbq80Ym58fKwxktFA9SkLqrrmDJHh5UL0x R2v2IqDg/+tZA9CQNqx1Dd1vffOQvV+aL29OwTXZu+4el6vJQs3P3Ls0CyNVHANesyof iAMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=ZABGG7wn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lg14-20020a170902fb8e00b0019cb21ef99csi3490793plb.160.2023.02.25.21.40.49; Sat, 25 Feb 2023 21:41:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=ZABGG7wn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229620AbjBZFj7 (ORCPT + 99 others); Sun, 26 Feb 2023 00:39:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229510AbjBZFj6 (ORCPT ); Sun, 26 Feb 2023 00:39:58 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D175136EA; Sat, 25 Feb 2023 21:39:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=5EL3h3gDbv1fOup+zFv/dxa8dkjfhZsLYy7zEK7AZjE=; b=ZABGG7wnGOx6TcA9KINzaegqjD 4QUug6UACr1wdMOK5fTqdO/UKI6Xu2fJudekLhS/cibD6PMOw3lMho63cshMjB69n9jRskuCL6Pt+ e0UNJa0W/nZtnFX9/aVcZk89HYuHuYWXDoXEC91b2OlTtxaHYObY4uOxKiWgVszbJ5Tfh8SNenos7 ggbN7SJ7Baeh86xDSdW07MShRFdKAN1BEMx4u6g8kZLA7V3UaKZGEiGP0EEoBtjR5WAmh2NawhyyK 6Og6C2FYvTLO+Ouwkzrh8Xl7gGc7CxMgdOg6CMI61HfGQEZPktSfbVsoCotVBsdc1es39CVhaNY4O JmxgZhgw==; Received: from [2601:1c2:980:9ec0::df2f] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1pW9lL-006qYL-GS; Sun, 26 Feb 2023 05:39:55 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Riku Voipio , Stephen Boyd , Michael Turquette , linux-clk@vger.kernel.org Subject: [PATCH 2/8] clk: HI655X: select REGMAP instead of depending on it Date: Sat, 25 Feb 2023 21:39:47 -0800 Message-Id: <20230226053953.4681-3-rdunlap@infradead.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230226053953.4681-1-rdunlap@infradead.org> References: <20230226053953.4681-1-rdunlap@infradead.org> MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758870961256385888?= X-GMAIL-MSGID: =?utf-8?q?1758870961256385888?= REGMAP is a hidden (not user visible) symbol. Users cannot set it directly thru "make *config", so drivers should select it instead of depending on it if they need it. Consistently using "select" or "depends on" can also help reduce Kconfig circular dependency issues. Therefore, change the use of "depends on REGMAP" to "select REGMAP". Fixes: 3a49afb84ca0 ("clk: enable hi655x common clk automatically") Signed-off-by: Randy Dunlap Cc: Riku Voipio Cc: Stephen Boyd Cc: Michael Turquette Cc: linux-clk@vger.kernel.org --- drivers/clk/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -- a/drivers/clk/Kconfig b/drivers/clk/Kconfig --- a/drivers/clk/Kconfig +++ b/drivers/clk/Kconfig @@ -91,7 +91,7 @@ config COMMON_CLK_RK808 config COMMON_CLK_HI655X tristate "Clock driver for Hi655x" if EXPERT depends on (MFD_HI655X_PMIC || COMPILE_TEST) - depends on REGMAP + select REGMAP default MFD_HI655X_PMIC help This driver supports the hi655x PMIC clock. This