From patchwork Thu Nov 24 14:43:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean Delvare X-Patchwork-Id: 25586 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp3438227wrr; Thu, 24 Nov 2022 06:45:12 -0800 (PST) X-Google-Smtp-Source: AA0mqf6x3/wfGAfd3mFOxC4tYJJ37Gi74VI0hI4WlHqvfT2pUqqthyJ9351MUhBmfwpVSNvAnqCL X-Received: by 2002:a17:902:8503:b0:178:4f50:673e with SMTP id bj3-20020a170902850300b001784f50673emr14253624plb.126.1669301112477; Thu, 24 Nov 2022 06:45:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669301112; cv=none; d=google.com; s=arc-20160816; b=uCbyu6RnuHNKk+o76fwSfG8RPaJ6Bi3sL8wDCjZg2M9gl9vdkb+uup2hzizyFpwxu8 4tT1A4xokMeEozj/erLE1YELIpfV83vI8saeE7fM5NyDt+uMpmGQD8e0IfxYn/D1/edZ qafKEExH+gtlg6A/9RKK6AN4Q+fF7PgboA7ipEoFXrpSG5YQmA3ZnmVOCTsk+yFsGnq/ LMDyQM59KqI/A3JEGDA2w8X9CaS60r+6C6RB2nj1HSWlu+9zyk+8bc4wq/ByJlOziQT1 wkNMiMOgVrNFmrK9ja8qWwEgefA6Mfni7xBTxrNJF2M80gstKRZ64xdP7TNFGVplUsas b9Aw== 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 :organization:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=RSDxCIZj7tP6iDUeSK5bmzG9DBH4ukrgrNleI3RTxE4=; b=Qb1dQ/GQSU8Rdj89cCDfnshNwBnEYA6i9Hv/MamhnkPJVbTh6kZGdNU46GXRPOt0Kt MMG1BQFHTU2JhTW8wp5G6zpWY/ZHos8bAxb86tZP/T1l2q6FLeWQpEhVuqY65RutfdyP 6RNrcXizocBMNSN6GQSwx9LDIM0Mm8LeS8CrbM1dncje0arF4j+WvILMtxthPhljpzqZ R23dabmuJIgG0YVmE51Kd2WJ6fVHa034OKyjWz9LrGOctYnUsUxTE1wWTBxl2XZU+fGW BVXmBqACZ+F7UhrTnhRnZ0+lZXgMb9QLt1L/4ZkRJB8skkUOv3xdWCtc/KpgG8sWOykr xIzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=laECmwk+; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ot17-20020a17090b3b5100b00213b3144671si5464040pjb.0.2022.11.24.06.44.59; Thu, 24 Nov 2022 06:45:12 -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=@suse.de header.s=susede2_rsa header.b=laECmwk+; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229671AbiKXOoH (ORCPT + 99 others); Thu, 24 Nov 2022 09:44:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229508AbiKXOoE (ORCPT ); Thu, 24 Nov 2022 09:44:04 -0500 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48E25ECCDC; Thu, 24 Nov 2022 06:44:02 -0800 (PST) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id E5E5021AA9; Thu, 24 Nov 2022 14:44:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1669301040; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RSDxCIZj7tP6iDUeSK5bmzG9DBH4ukrgrNleI3RTxE4=; b=laECmwk+hSEsA59l592NOPSYuVa6/2QEtY41YRV6ec4hGKFiawqycHJQ8JkarnS3kdA639 LPIRjVQSjEn5ByBYHfXtuDbks6+hYSK+O34nVEffb9wdSS8K4ncai8RxlbChZZAomeqbOz 7FWhyUKdmozAxUsvyUo63FuNfFMagoE= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1669301040; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RSDxCIZj7tP6iDUeSK5bmzG9DBH4ukrgrNleI3RTxE4=; b=tMRinWGU3xkK1Sk9EQfROj8VNADPWQdWoqbiOsBhN2hxBK4nqfbGdc1a3svnJxTlfTYKld SUIRhrYNPEB7c9CA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id B8F4513488; Thu, 24 Nov 2022 14:44:00 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id hUWGKzCDf2OtUAAAMHmgww (envelope-from ); Thu, 24 Nov 2022 14:44:00 +0000 Date: Thu, 24 Nov 2022 15:43:59 +0100 From: Jean Delvare To: linux-rtc@vger.kernel.org, LKML Cc: Alessandro Zummo , Alexandre Belloni Subject: [PATCH] rtc: isl12026: drop obsolete dependency on COMPILE_TEST Message-ID: <20221124154359.039be06c@endymion.delvare> Organization: SUSE Linux X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.32; x86_64-suse-linux-gnu) 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_PASS 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?1750389083387597124?= X-GMAIL-MSGID: =?utf-8?q?1750389083387597124?= Since commit 0166dc11be91 ("of: make CONFIG_OF user selectable"), it is possible to test-build any driver which depends on OF on any architecture by explicitly selecting OF. Therefore depending on COMPILE_TEST as an alternative is no longer needed. It is actually better to always build such drivers with OF enabled, so that the test builds are closer to how each driver will actually be built on its intended target. Building them without OF may not test much as the compiler will optimize out potentially large parts of the code. In the worst case, this could even pop false positive warnings. Dropping COMPILE_TEST here improves the quality of our testing and avoids wasting time on non-existent issues. Signed-off-by: Jean Delvare Cc: Alessandro Zummo Cc: Alexandre Belloni --- drivers/rtc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-6.0.orig/drivers/rtc/Kconfig +++ linux-6.0/drivers/rtc/Kconfig @@ -432,7 +432,7 @@ config RTC_DRV_ISL12022 config RTC_DRV_ISL12026 tristate "Intersil ISL12026" - depends on OF || COMPILE_TEST + depends on OF help If you say yes here you get support for the Intersil ISL12026 RTC chip.