From patchwork Tue Aug 15 15:29:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 713925 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 33B6BC001B0 for ; Tue, 15 Aug 2023 15:30:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238015AbjHOPaP (ORCPT ); Tue, 15 Aug 2023 11:30:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238069AbjHOP3d (ORCPT ); Tue, 15 Aug 2023 11:29:33 -0400 Received: from michel.telenet-ops.be (michel.telenet-ops.be [IPv6:2a02:1800:110:4::f00:18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 769061BD9 for ; Tue, 15 Aug 2023 08:29:15 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:5d0c:f209:12a7:4ce5]) by michel.telenet-ops.be with bizsmtp id ZrVD2A00845ualL06rVDxq; Tue, 15 Aug 2023 17:29:13 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1qVvyk-000j7z-Lt; Tue, 15 Aug 2023 17:29:13 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qVvyq-005clt-W4; Tue, 15 Aug 2023 17:29:13 +0200 From: Geert Uytterhoeven To: Wolfram Sang , Sakari Ailus , Tomi Valkeinen , Andy Shevchenko , Luca Ceresoli Cc: linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] i2c: Make I2C_ATR invisible Date: Tue, 15 Aug 2023 17:29:11 +0200 Message-Id: <588d302477cb7e6b30b52ee6448807324c57b88a.1692113321.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org I2C Address Translator (ATR) support is not a stand-alone driver, but a library. All of its users select I2C_ATR. Hence there is no need for the user to enable this symbol manually, except when compile-testing. Fixes: a076a860acae77bb ("media: i2c: add I2C Address Translator (ATR) support") Signed-off-by: Geert Uytterhoeven Reviewed-by: Tomi Valkeinen Acked-by: Wolfram Sang --- Do we care yet about out-of-tree drivers that need this functionality? --- drivers/i2c/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig index c6d1a345ea6d8aee..9388823bb0bb960c 100644 --- a/drivers/i2c/Kconfig +++ b/drivers/i2c/Kconfig @@ -72,7 +72,7 @@ config I2C_MUX source "drivers/i2c/muxes/Kconfig" config I2C_ATR - tristate "I2C Address Translator (ATR) support" + tristate "I2C Address Translator (ATR) support" if COMPILE_TEST help Enable support for I2C Address Translator (ATR) chips.