From patchwork Fri Oct 28 10:35:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Lindgren X-Patchwork-Id: 12226 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp747500wru; Fri, 28 Oct 2022 03:39:07 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4g6IWDYFRdENr5eS7zY9LIvXoZQ7KxjbeBlhPGfyT7fcCfP0erh9SAJIGvvawLFvuWf7yk X-Received: by 2002:a17:906:3111:b0:7ad:a7fc:f3e8 with SMTP id 17-20020a170906311100b007ada7fcf3e8mr208805ejx.518.1666953547270; Fri, 28 Oct 2022 03:39:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666953547; cv=none; d=google.com; s=arc-20160816; b=fnNGcqqeuNyFHeDRd7wcmswSLTp751Ljgzgl9zq7hXkfMPQ2dK1Yz35EUaxwZRNgwd U4eFPTDl34ho01+UQzq+cfdz9Ou2rMIoyIL7gsbyHG9WZX9u9a14+tkXqTU6ppFWCcYp bLc5XYxiss3NKg2uhOVXeT5HqLw92rRkKPC/SCkSzp6mBxnXNoHrnha80M2fj8M+Pn6z KnhXK7+IIjNdCQcuhxwTAj7442whGCH9QMzyDugV1xUcwNU8Fj+JsvVaVobH2k4/8h/d eSg75dn1g5TfbAW/kDKZ3gMttlUBjDDoR4EPCJHV6Qc49pjvCOnUCeYrucSky/DPigaK uOSA== 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 :message-id:date:subject:cc:to:from; bh=ded4y4RwIdrquw1yLE5feI7WYYsgM14jxH9B+f7znRk=; b=ArwHBA5scOpIwz77eoc1llX6LMeOFs+VICYi+1yTHChkGwujRa8561yAfSU96MrQs9 ZlvE4Q69HQYbjzRA60DeEObgtJfgmpiun/uKc4vYNgeg1YXwW1wZqexJ4DxBD1Pdr0pF o8hdvAkZFB1Ngz7c/mRjWSFxLTD6lSowW24pbxqk0JJHSn8rQiQYNv2wyKPTm33PIDPr WWTAujB/v8zB/M1dIzmYzjGpwukSN7wEJmceenzKI+xHN9lM8Rk4iD7OBvO6EWTxIaXU PYQgTwT8uPs1QDUOffvw2QfsPQwl3V9SfW8OC19zmYYKPIeOb54DtJ84v3M+omb+ydZd +nCA== ARC-Authentication-Results: i=1; mx.google.com; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sa13-20020a1709076d0d00b0077b2e822b8fsi4575429ejc.76.2022.10.28.03.38.42; Fri, 28 Oct 2022 03:39:07 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229826AbiJ1KgW (ORCPT + 99 others); Fri, 28 Oct 2022 06:36:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43864 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229909AbiJ1Kfw (ORCPT ); Fri, 28 Oct 2022 06:35:52 -0400 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7724241982; Fri, 28 Oct 2022 03:35:33 -0700 (PDT) Received: from hillo.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id 7398C8061; Fri, 28 Oct 2022 10:26:08 +0000 (UTC) From: Tony Lindgren To: Daniel Lezcano , Thomas Gleixner Cc: Grygorii Strashko , Keerthy , Ladislav Michl , Nishanth Menon , Suman Anna , Vignesh Raghavendra , linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel test robot Subject: [PATCH] clocksource/drivers/timer-ti-dm: Fix warning for omap_timer_match Date: Fri, 28 Oct 2022 13:35:26 +0300 Message-Id: <20221028103526.40319-1-tony@atomide.com> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE 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?1747927482245493797?= X-GMAIL-MSGID: =?utf-8?q?1747927482245493797?= We can now get a warning for 'omap_timer_match' defined but not used. Let's fix this by dropping of_match_ptr for omap_timer_match. Reported-by: kernel test robot Fixes: ab0bbef3ae0f ("clocksource/drivers/timer-ti-dm: Make timer selectable for ARCH_K3") Signed-off-by: Tony Lindgren --- drivers/clocksource/timer-ti-dm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clocksource/timer-ti-dm.c b/drivers/clocksource/timer-ti-dm.c --- a/drivers/clocksource/timer-ti-dm.c +++ b/drivers/clocksource/timer-ti-dm.c @@ -1258,7 +1258,7 @@ static struct platform_driver omap_dm_timer_driver = { .remove = omap_dm_timer_remove, .driver = { .name = "omap_timer", - .of_match_table = of_match_ptr(omap_timer_match), + .of_match_table = omap_timer_match, .pm = &omap_dm_timer_pm_ops, }, };