From patchwork Mon Nov 21 13:52:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean Delvare X-Patchwork-Id: 23753 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp1600799wrr; Mon, 21 Nov 2022 05:57:06 -0800 (PST) X-Google-Smtp-Source: AA0mqf6+r9+fTVGfTcKLoKH8Z45pFa+H4K1LDgHhA/Uz7Xz1Q1albprDdBQqx1KA4k/myS3vR4EO X-Received: by 2002:a63:1247:0:b0:476:ed2a:6216 with SMTP id 7-20020a631247000000b00476ed2a6216mr16299801pgs.556.1669039026562; Mon, 21 Nov 2022 05:57:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669039026; cv=none; d=google.com; s=arc-20160816; b=JxAfhcbZCfiEVqp/hGDPmkT1dYZv8uCNzXDBKg4W0PeJCD+phY4Ah1TUS4Ut6lW1Ml h+bZJMeE3aTvDdMKGkLIRRksYBh8nYrHtcBZkGhKKH7pfEDQiF8y7f1ddLLGfEP9VAvf rGwn/UKXQX93O+iQCciR0sTBp4CQnUft7jq6SReEalIOOzcgLedXTnmriqyrGF9sVqBV Mkc7e8gQPldxsRT9shMF6RqGpeGCk6rTFxq6YuieV7aI+PhRCen4qVxclVfa/oVmQqe6 3HMDZW6q6F2aRguamDFOYJA+CWfYGqn9J3Gd93Vlh5w0YbR+TpH8px2xot4Lsg+NfAMb s4iQ== 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=RVEFgUtZmQXpynz9nXU2lTDmNFxoHkG7RXWPsOzqluA=; b=wr+hKTlSvmoCRZp15lTl7ZP/5PrAkxulu4NYeIz0DiaBh9cGHpaWgtuqQp3Z91NaT2 BHkMHPPtJnw/MLXh5UB87CkJksgc5d+u9ysKFwvb6o7ZigHvV8pzprScv8k7z/9NwOAT n5GF4ON1Tn8cgvmEY8XpVvQygFY/85b/rKu5SqY/A1ZZNVzXgKKxnspSL5CdG6ToV+1W pSkNCF4zsr9IzfAxeckpP+ILU6Y9V+NQkIDCs0YPLtzJmF9+J1Btx2vSHNPB3qSF/SE2 kKs1xPxSSieA53RW4x6tFJmB/t6aSCxl3WXx/CG4fHj6mMv5Tj2mdKCzCZ2y3IdB5EpG PuKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=YoqJBlfm; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=4lbOvuY+; 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 on14-20020a17090b1d0e00b0021414ac5cc2si14410369pjb.131.2022.11.21.05.56.47; Mon, 21 Nov 2022 05:57:06 -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=YoqJBlfm; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=4lbOvuY+; 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 S229902AbiKUNwP (ORCPT + 99 others); Mon, 21 Nov 2022 08:52:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231244AbiKUNwG (ORCPT ); Mon, 21 Nov 2022 08:52:06 -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 B8F401D66F; Mon, 21 Nov 2022 05:52:05 -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 7513A220C2; Mon, 21 Nov 2022 13:52:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1669038724; 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=RVEFgUtZmQXpynz9nXU2lTDmNFxoHkG7RXWPsOzqluA=; b=YoqJBlfmYMvDRAXgt7cews3hBtfZezJsKPFYj9peNazbzBw9zPPOQP4343b2nOBtHbsU3n gF60VzHAySFEgqKVuO3JmYHx4IlWDLPD4CVOyjbmG2q1WhmGZyOFGoFQjT7Dy2C0MMm6dy Lx6zpAvrfqbHavuw95oH9ORw3aVy/Og= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1669038724; 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=RVEFgUtZmQXpynz9nXU2lTDmNFxoHkG7RXWPsOzqluA=; b=4lbOvuY+M3guHsXDCjx3VjcuH2EVxUEodFlmqtmjd2fqAQ0taVaxy7kHkymiiOfFfS+scV Plff/h7hpTIBvlBA== 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 4E9901377F; Mon, 21 Nov 2022 13:52:04 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id pwl8EYSCe2NfCAAAMHmgww (envelope-from ); Mon, 21 Nov 2022 13:52:04 +0000 Date: Mon, 21 Nov 2022 14:52:03 +0100 From: Jean Delvare To: Dmitry Torokhov Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] Input: stmpe-ts - drop obsolete dependency on COMPILE_TEST Message-ID: <20221121145203.1efb0c08@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?1750114266423494223?= X-GMAIL-MSGID: =?utf-8?q?1750114266423494223?= 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: Dmitry Torokhov --- drivers/input/touchscreen/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-6.0.orig/drivers/input/touchscreen/Kconfig +++ linux-6.0/drivers/input/touchscreen/Kconfig @@ -1241,7 +1241,7 @@ config TOUCHSCREEN_STMFTS config TOUCHSCREEN_STMPE tristate "STMicroelectronics STMPE touchscreens" depends on MFD_STMPE - depends on (OF || COMPILE_TEST) + depends on OF help Say Y here if you want support for STMicroelectronics STMPE touchscreen controllers.