Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp274061imn; Thu, 4 Aug 2022 05:36:32 -0700 (PDT) X-Google-Smtp-Source: AA6agR7ia7Calodtc+z1aLrQnJHvOdSnsHxHTPS4nn/cco2gISdU01uBVzHMX2eZWD90EHzGdm7R X-Received: by 2002:a05:6a00:1a44:b0:528:6af7:ff4a with SMTP id h4-20020a056a001a4400b005286af7ff4amr1725138pfv.78.1659616592680; Thu, 04 Aug 2022 05:36:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659616592; cv=none; d=google.com; s=arc-20160816; b=OpsttEdcUFLjkhpLjefAGWeHebNI6gLQaHyaVXNdaZjzZHEAssTYZgi5h9q94T/Pyz toxVq8q2DzzzvDluVXYIffERac3E4Pq9l5ZIA1992xQZddMkUIDl2QIPH8bnl3cuhvVX +GwYuN4ZWpG4UTeSSyy9lJ2tZUs5jqszUboVt0Hj9D82hQJ7o6LEy9RcwBG0AUjCeRR+ X/2/Zp19o18UeJHlZngilscp4aY/mAeHfR1SSjuKG+5QKovlD6ilDykVUuFxC35G78y1 MDNKvL3keAH9ca2KvBd1OsunhAgc9V8zpkXWjEFUyJP1gZKtopne2SU556O8FMGpZW8Q Sa1A== 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=EUCS7g/zgoM7nhHrg1a17fSw/MKdtZCCwVWMf7qRsAc=; b=nuBjYpYQRdDFZTg17KFIp/dGAL8iuMgjYL6A+QWzrPQmYw2plCoh441sHSJmFV0zDT xeZUUEZI7ZEPonVHHq6Xxi6AIa3h57wFdgn9TGFOJPRfbE7y0LbTrXe8x3D/fNA298p0 iDsm4+5vW4++zMtRofy+QSqQe2NLFX9z8N0ptxWk2F4Y56Lz83Qi5lG3I4+elvT0G6Fs xvDQqYINMjE+RGRTkcX/9qu2L8JZ7RYeLoMHXcjNmpt+vG2FxJcg1nu08cRLfY8e15wc XQ8fVpEfBUmptkw5OgnCY/23itqNGqA+Pzn/muwuvAr9iOrbMfFteVWJrQZEAqMhL3bm xNSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=warjybyV; dkim=neutral (no key) header.i=@suse.de header.b=UEvkDTqV; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k29-20020a634b5d000000b0041212cc5c78si1189665pgl.385.2022.08.04.05.36.18; Thu, 04 Aug 2022 05:36:32 -0700 (PDT) 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=warjybyV; dkim=neutral (no key) header.i=@suse.de header.b=UEvkDTqV; 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 S239575AbiHDL7p (ORCPT + 99 others); Thu, 4 Aug 2022 07:59:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239562AbiHDL7l (ORCPT ); Thu, 4 Aug 2022 07:59:41 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C977745F6C; Thu, 4 Aug 2022 04:59:40 -0700 (PDT) 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-out2.suse.de (Postfix) with ESMTPS id 4AB1820D15; Thu, 4 Aug 2022 11:59:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1659614379; 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=EUCS7g/zgoM7nhHrg1a17fSw/MKdtZCCwVWMf7qRsAc=; b=warjybyVgrYrMdXWqixrvgR9ppCn3cIpgd8v8HwN7LXFbZGRIY8weVG4bLIZGaK+1K3Gon kbmOcgZShqDMni5ZDJmORkjCgmF6asIrU7xlHyh3al2ZqSNtdMBexMhncIQ00O9GwH0N14 Tg2w33If7y5ZsBrMSGhuf2jVau/VOc8= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1659614379; 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=EUCS7g/zgoM7nhHrg1a17fSw/MKdtZCCwVWMf7qRsAc=; b=UEvkDTqVuOZL858W4cHq7ic1Ql23IRE8Fr66+KT/SfzoffnMD5ZbjcWZRxft/9SRGObIrD 1DI/+yXe+vfIqvCQ== 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 105E513434; Thu, 4 Aug 2022 11:59:39 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 7W+yAau062JbNQAAMHmgww (envelope-from ); Thu, 04 Aug 2022 11:59:39 +0000 Date: Thu, 4 Aug 2022 13:59:38 +0200 From: Jean Delvare To: LKML , linux-pm@vger.kernel.org Cc: Talel Shenhar , "Rafael J. Wysocki" , Daniel Lezcano Subject: [PATCH] thermal/drivers/thermal_mmio: Drop of_match_ptr() Message-ID: <20220804135938.7f69f5d9@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 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 From: Jean Delvare Subject: thermal/drivers/thermal_mmio: Drop of_match_ptr() Now that the driver depends on OF, we know what of_match_ptr() will always resolve to, so we might as well save cpp some work. Signed-off-by: Jean Delvare Cc: Talel Shenhar Cc: "Rafael J. Wysocki" Cc: Daniel Lezcano --- This could have been folded into my previous patch, sorry for missing it. drivers/thermal/thermal_mmio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-5.18.orig/drivers/thermal/thermal_mmio.c 2022-05-22 21:52:31.000000000 +0200 +++ linux-5.18/drivers/thermal/thermal_mmio.c 2022-08-04 13:50:46.426178245 +0200 @@ -107,7 +107,7 @@ static struct platform_driver thermal_mm .probe = thermal_mmio_probe, .driver = { .name = "thermal-mmio", - .of_match_table = of_match_ptr(thermal_mmio_id_table), + .of_match_table = thermal_mmio_id_table, }, }; -- Jean Delvare SUSE L3 Support