From patchwork Sun Feb 26 05:39:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 13152303 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3BFDEC7EE45 for ; Sun, 26 Feb 2023 05:40:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229640AbjBZFkC (ORCPT ); Sun, 26 Feb 2023 00:40:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229601AbjBZFkA (ORCPT ); Sun, 26 Feb 2023 00:40:00 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21925136F7; Sat, 25 Feb 2023 21:39:59 -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:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=EI1aXrE2jWnMQpvhJWCxJ0A1m6hExM8zG6kHodDd/Yk=; b=aj3A5Ot6MEhhd9SZR6hiyed6PQ EdZuqG07G/Vk/F8skIZAfGRc6sNw4DC3faae0Cu3vMc4szUf4tDAjvfhrUYJgE2qrG+wA3gREi+N9 PxwHUdCcxP7gl8263NKtViUAcgY2zI6M/LMZBz9lNggC95W1ux6ZsuulZKWLDOGTRoKB45Cn6oWKQ wmRpRz9HJa6rXmn93Yj2Kp+oVd2a57W+8ogtuK5beZyvX1IVvMsN0ws+h4BF3CcUdqyDY6oBTAOxv yxF6SU+Dxy/zjph+VaxFK8u1DqBXUvUKhjqVRXd4V3udKqotaho/14nhEhUecI4IwtIGLrTY08V5M lQmQqocw==; 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 1pW9lK-006qYL-N4; Sun, 26 Feb 2023 05:39:54 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Andrew Jeffery , Corey Minyard , openipmi-developer@lists.sourceforge.net, Arnd Bergmann , Greg Kroah-Hartman , Riku Voipio , Stephen Boyd , Michael Turquette , linux-clk@vger.kernel.org, Michael Walle , Linus Walleij , Bartosz Golaszewski , linux-gpio@vger.kernel.org, Dan Murphy , Pavel Machek , Jacek Anaszewski , Lee Jones , linux-leds@vger.kernel.org, Darren Hart , Hans de Goede , Michael Shych , Mark Gross , Vadim Pasternak , platform-driver-x86@vger.kernel.org, Yegnesh S Iyer , Bin Gao , Zhang Rui , "Rafael J. Wysocki" , Daniel Lezcano , Amit Kucheria , linux-pm@vger.kernel.org, Oskar Senft , linux-serial@vger.kernel.org Subject: [PATCH 0/8] drivers: select REGMAP instead of depending on it Date: Sat, 25 Feb 2023 21:39:45 -0800 Message-Id: <20230226053953.4681-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: platform-driver-x86@vger.kernel.org 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. REGMAP is selected 94 times and is depended on 11 times in current linux-next. Eliminate the uses of "depends on" by converting them to "select". [PATCH 1/8] ipmi: ASPEED_BT_IPMI_BMC: select REGMAP_MMIO instead of depending on it [PATCH 2/8] clk: HI655X: select REGMAP instead of depending on it [PATCH 3/8] gpio: GPIO_REGMAP: select REGMAP instead of depending on it [PATCH 4/8] leds: TI_LMU_COMMON: select REGMAP instead of depending on it [PATCH 5/8] platform: mellanox: select REGMAP instead of depending on it [PATCH 6/8] platform: x86: MLX_PLATFORM: select REGMAP instead of depending on it [PATCH 7/8] thermal: intel: BXT_PMIC: select REGMAP instead of depending on it [PATCH 8/8] serial: 8250: ASPEED_VUART: select REGMAP instead of depending on it diffstat: drivers/char/ipmi/Kconfig | 3 ++- drivers/clk/Kconfig | 2 +- drivers/gpio/Kconfig | 2 +- drivers/leds/Kconfig | 2 +- drivers/platform/mellanox/Kconfig | 9 ++++----- drivers/platform/x86/Kconfig | 3 ++- drivers/thermal/intel/Kconfig | 3 ++- drivers/tty/serial/8250/Kconfig | 3 ++- 8 files changed, 15 insertions(+), 12 deletions(-) Cc: Andrew Jeffery Cc: Corey Minyard Cc: openipmi-developer@lists.sourceforge.net Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Cc: Riku Voipio Cc: Stephen Boyd Cc: Michael Turquette Cc: linux-clk@vger.kernel.org Cc: Michael Walle Cc: Linus Walleij Cc: Bartosz Golaszewski Cc: linux-gpio@vger.kernel.org Cc: Dan Murphy Cc: Pavel Machek Cc: Jacek Anaszewski Cc: Lee Jones Cc: linux-leds@vger.kernel.org Cc: Darren Hart Cc: Hans de Goede Cc: Michael Shych Cc: Mark Gross Cc: Vadim Pasternak Cc: platform-driver-x86@vger.kernel.org Cc: Yegnesh S Iyer Cc: Bin Gao Cc: Zhang Rui Cc: "Rafael J. Wysocki" Cc: Daniel Lezcano Cc: Amit Kucheria Cc: linux-pm@vger.kernel.org Cc: Oskar Senft Cc: linux-serial@vger.kernel.org Acked-by: Hans de Goede