From patchwork Wed Apr 26 09:12:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 87751 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp105655vqo; Wed, 26 Apr 2023 02:13:56 -0700 (PDT) X-Google-Smtp-Source: AKy350a3OI7B1G+M0hGoW4S8khhUa/6xXLvR5we3Cfe5saOBaL7Nl9vxUHrOAjzurK/qgMh1ou5Z X-Received: by 2002:a05:6a20:1607:b0:ee:bfc0:2bfe with SMTP id l7-20020a056a20160700b000eebfc02bfemr26003526pzj.60.1682500436278; Wed, 26 Apr 2023 02:13:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682500436; cv=none; d=google.com; s=arc-20160816; b=kT+gn07XMz7pj1E4FM8c+rkvKshASOfK91HmncNNl8vKiVbmFkkIjnCrRl42Es8/mA vWlld+pdVzq3D/HIJwyd/nMsbxkLcEFF1QbP/NTooPjhzde63WZ5ji0VdjR+Macuru6+ SEY8s+Sc56AMwf7iFGoD7GgOvbCWCTjNjDZ1Tp+TMrhcx9xhqxysacclcxVD6DwB4LQC gHdqA67mvpgbW6YeOq8emWX5drTP5ODJeDTh+ck8Dtk8xf5sqLNaIiiVjQldb3tbccxI QlsEUqjQLZl1o01dGv7PB2oLkboqBfEIalV5oiH0mneiW+K+g0HywXk8zI1anItxyqrY fgzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=0QW/Hw22ofhf5EXzxdGNoFzICaov435fT9xDjOYq4pA=; b=ffu+DqkzWSVa7UEWmzTaHiShs2vvxuJyIhy4HboRXRZNSBa/0DjqvChgizqjQgueNw xXjFM4U9lD3JroHBIKQs39JRB/LV63bzJjCEE4hJQmmmpCJgl452XInjAnAz+gWVEMP2 x8tFoORfceya/tgm0gDPdvn54GKE9ipyGDtj0K498hrGnkTbzgiABOz7gT3mulZoFxxQ KFXxzBHXgRULqJWixv+AHXttzl2E897MMwyv7R5lRPyP0wGc6si3eMZk7FQSoYCyZiAd R0hcQv2orOeEONXf5x7GXy0117KvWYyBAA6bLg/eOpSCNhP2K7cT2Uf0vLzQvnx0bnPH RE3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=ttmPi9Hp; dkim=neutral (no key) header.i=@linutronix.de header.b=d79VZRJS; 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=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b34-20020a631b62000000b00502d6decabesi15700738pgm.218.2023.04.26.02.13.43; Wed, 26 Apr 2023 02:13:56 -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=@linutronix.de header.s=2020 header.b=ttmPi9Hp; dkim=neutral (no key) header.i=@linutronix.de header.b=d79VZRJS; 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=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239308AbjDZJNI (ORCPT + 99 others); Wed, 26 Apr 2023 05:13:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34704 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240035AbjDZJMg (ORCPT ); Wed, 26 Apr 2023 05:12:36 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 949F040F4; Wed, 26 Apr 2023 02:12:34 -0700 (PDT) Date: Wed, 26 Apr 2023 09:12:31 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1682500351; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0QW/Hw22ofhf5EXzxdGNoFzICaov435fT9xDjOYq4pA=; b=ttmPi9HpNFJI/kPMkNMy8l85pcJvZs4QQN1Z05+cdwh49Pmss5MwVvoGzsyV8YjxQaJIUe ScsL5zix+w+NVW/HXI98la8R7eppuxOB4mQ2wAPimW2itVQD6k2kmet6AgNog0jZVfNm9C b5OzeCPJYVbky5J7SoYWugEPUFcHiXAVo457DR9CyreDPWhHQv+rYdQA5grOIfcU7lTdbG 9ucZEN7V0RoZs9PC8prFwHyknsNyNYQRYM4XbYUzPE1y1of6pmarAJ3YDCEsA3xfEzTi8b B70AxkvEVuOjS3qMkXC1SC/USezT7vfuAykogb2LlsI8YOieYh0VnEQHeMFr3w== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1682500351; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0QW/Hw22ofhf5EXzxdGNoFzICaov435fT9xDjOYq4pA=; b=d79VZRJSyh+JsNeON4s/rOlpYENYhFm/RtzypTLaFk6CU4ACrqKTKxFj+oKM/k/IjT3o+1 VeCo0jCceilG0rBA== From: "tip-bot2 for Krzysztof Kozlowski" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: timers/core] clocksource/drivers/stm32-lp: Drop of_match_ptr for ID table Cc: Krzysztof Kozlowski , Daniel Lezcano , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20230311173803.263446-1-krzysztof.kozlowski@linaro.org> References: <20230311173803.263446-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Message-ID: <168250035138.404.3777716060477300436.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails 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,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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?1764229577305381311?= X-GMAIL-MSGID: =?utf-8?q?1764229577305381311?= The following commit has been merged into the timers/core branch of tip: Commit-ID: b6f228e800ccf285906bb1c4c366ce3848a5443e Gitweb: https://git.kernel.org/tip/b6f228e800ccf285906bb1c4c366ce3848a5443e Author: Krzysztof Kozlowski AuthorDate: Sat, 11 Mar 2023 18:38:03 +01:00 Committer: Daniel Lezcano CommitterDate: Mon, 24 Apr 2023 16:56:13 +02:00 clocksource/drivers/stm32-lp: Drop of_match_ptr for ID table The driver can match only via the DT table so the table should be always used and the of_match_ptr does not have any sense (this also allows ACPI matching via PRP0001, even though it might not be relevant here). drivers/clocksource/timer-stm32-lp.c:203:34: error: ‘stm32_clkevent_lp_of_match’ defined but not used [-Werror=unused-const-variable=] Signed-off-by: Krzysztof Kozlowski Signed-off-by: Daniel Lezcano Link: https://lore.kernel.org/r/20230311173803.263446-1-krzysztof.kozlowski@linaro.org --- drivers/clocksource/timer-stm32-lp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clocksource/timer-stm32-lp.c b/drivers/clocksource/timer-stm32-lp.c index 0adf22d..d14a175 100644 --- a/drivers/clocksource/timer-stm32-lp.c +++ b/drivers/clocksource/timer-stm32-lp.c @@ -205,7 +205,7 @@ static struct platform_driver stm32_clkevent_lp_driver = { .probe = stm32_clkevent_lp_probe, .driver = { .name = "stm32-lptimer-timer", - .of_match_table = of_match_ptr(stm32_clkevent_lp_of_match), + .of_match_table = stm32_clkevent_lp_of_match, .suppress_bind_attrs = true, }, };