Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2179152rwi; Fri, 28 Oct 2022 04:09:01 -0700 (PDT) X-Google-Smtp-Source: AMsMyM56tJ6LsR204+547jXvjE215QCkzEQtyDh73s/L7CvSvPhCNvuIhgNWgLtq+rW5V9AmRwue X-Received: by 2002:a17:907:7632:b0:7a1:d4f0:e7c5 with SMTP id jy18-20020a170907763200b007a1d4f0e7c5mr28400999ejc.160.1666955341700; Fri, 28 Oct 2022 04:09:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666955341; cv=none; d=google.com; s=arc-20160816; b=ARmDZMDOSBsrFPP7jQLO7e7BhqulbFEBZd7L+Igd3Zzn1SBfdcCG5jtQFxc/NUX+pw DKoPJVuvihQijtpvLMnzil1nW845oroLkCMCgfFqePT0Pt/F36mqyTavK0/NxsGWVD6C pzhIYeQU+rTJAeUgbQvFt4U9O4fT29Lk1HEc/DbZi0/uqOhq0213JTNJr+DnGynoCWrm csOc0WQCE5Ofp3Sv/AYC9f2Z7LDM26XrSBgSIDoYlJndiZtGTPxCyyJv7seVOysRzo05 ySDI1mSR42t2bbox+/BR928+lVlKcsNN8Q54mZeuUAh1NsvDY68cUM+SWa8RKNG9aqdC 3JSg== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dn7-20020a17090794c700b0078c80f5d81asi5028142ejc.52.2022.10.28.04.08.36; Fri, 28 Oct 2022 04:09:01 -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 Content-Transfer-Encoding: 8bit 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 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, }, }; -- 2.37.3