From patchwork Mon Feb 13 04:15:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 13137848 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EDE95C6379F for ; Mon, 13 Feb 2023 04:16:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=uc5eX4dFFg74AyHfpZSyTpfc51uu3xIC4eapilJHTQU=; b=mYTjhSKidQ83rJOaqtikx7Vn8a ML9kGQGb2dof8joCHhEn/wMNr0D560BQJvPOQt6malbDXCDNS8MDYCiX/usf1zLTrelAS5p94urTz 9Hybe+v8+6xwaySKXm1b+cCYCyJgynh2gmtu9qNZlR9mkEENkEULc0HlGPFnyB9hkq4ErA2XSVX44 Na9WuwVsGDoH0173wNcJQppcsMQUoB0pFh6m09Di68lIHC0EpULIewWJB159Uz6bGMlsbzZwH2xgL ukqnDNRf9G2emcBegyNXQRSisFs4eFeXUWjpr9g5dkn5cDJc8JTbQMKr8bgZpnXuOpMGR7A9nrp8B jdAUTNHA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pRQFz-00D5AT-W8; Mon, 13 Feb 2023 04:16:00 +0000 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 1pRQFf-00D56G-2j; Mon, 13 Feb 2023 04:15:39 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Arnd Bergmann , MyungJoo Ham , Chanwoo Choi , Donggeun Kim , Marc Zyngier , Philipp Zabel , Peter Rosin , Greg Kroah-Hartman , Geert Uytterhoeven , Rob Herring , Eddie Huang , Sean Wang , Matthias Brugger , Alessandro Zummo , Alexandre Belloni , linux-rtc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH 0/3] IRQ_DOMAIN: remove all "depends on", use only "select" Date: Sun, 12 Feb 2023 20:15:32 -0800 Message-Id: <20230213041535.12083-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org IRQ_DOMAIN 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. Relying on it being set for a dependency is risky. Consistently using "select" or "depends on" can also help reduce Kconfig circular dependency issues. IRQ_DOMAIN is selected 109 times and is depended on 3 times in current linux-next. Eliminate the uses of "depends on" by converting them to "select". [PATCH 1/3] extcon: max8997: select IRQ_DOMAIN instead of depending on it [PATCH 2/3] of: OF_IRQ: select IRQ_DOMAIN instead of depending on it [PATCH 3/3] rtc: mt6397: select IRQ_DOMAIN instead of depending on it diffstat: drivers/extcon/Kconfig | 3 ++- drivers/of/Kconfig | 3 ++- drivers/rtc/Kconfig | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) Cc: Arnd Bergmann Cc: MyungJoo Ham Cc: Chanwoo Choi Cc: Donggeun Kim Cc: Marc Zyngier Cc: Philipp Zabel Cc: Peter Rosin Cc: Greg Kroah-Hartman Cc: Geert Uytterhoeven Cc: Rob Herring Cc: Eddie Huang Cc: Sean Wang Cc: Matthias Brugger Cc: Alessandro Zummo Cc: Alexandre Belloni Cc: linux-rtc@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-mediatek@lists.infradead.org