From patchwork Fri Dec 9 15:47:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 31847 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp851130wrr; Fri, 9 Dec 2022 07:51:02 -0800 (PST) X-Google-Smtp-Source: AA0mqf4vruztb9C1ga9QE74nH050Yj2vO+gnSOjunDLaW1Ip5lFg9Bra1P8ZaU8KcjbL8DmxEAhW X-Received: by 2002:a17:902:9b84:b0:189:38a1:8c04 with SMTP id y4-20020a1709029b8400b0018938a18c04mr5853734plp.50.1670601062400; Fri, 09 Dec 2022 07:51:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670601062; cv=none; d=google.com; s=arc-20160816; b=n2Ds6VcDRcEyUzGBhKevUTzxLfywKc2oPDwAzjeNNkfuHlEADYfRouxZTw2Nmn3rMV jwkkZVpXsCR4sTUKJjvHEHpum4pDJmP3BMdDgrQRiln8EKQpqPdBsRSgLPPQR7+Bs5m+ UQyicpmL5CuIs0G/vDGrn3jk7DafxhYpnBjxWfceiyndO9Tz8dag1z2qVglRTtR2TXMd g0enJRGpE9AE1Z6bKPdQNmSFQyHr87mSOcft7OwPvNttPY/PASqaCppnhWlm2biQpJ8e 3dwexstlhyOQuVO3mTbB69c+0qxrhDkllhOFmcNRmLEqm4ZrIrNKcSg6jLRK8W9scEE/ rbkA== 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=C6UfZriK7ryc7OxQIk3jAf9chxTyoygDgagwMczktRM=; b=kWlB6uvRw9GN/ZfB5hLKRONw/r+vhxxquxb34+W2MZqz8+Z9rpMt5EVko18Z62fqB7 ZZpgxkLD79QnxU3iL5gpBw4Avpt8BAqUJrF8BLzpu0Mf5Z+yfOdUVPxw/xn4Fx20l21V wV9WcgXMlyUgKjqM72GoxV9LZbBzcCevk2P2NLLi3iRhwU/QXUwPwjLiEtbRlci7k0C+ nrbdQpL4HOIoTmNv6f3b1FGsFfnBJ1+Z94/cR2FtQFwqym/hzE0rgX+trjC8c1Y8EbQo rb2Qh5Xxue+fncUTcM6eWXmQ7UWKFBgC/0nKcubXNZ4CAQY0/xKzlohvOHbHlWkVD9u7 8eiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=IL1SHomh; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=WfWZ1lIe; 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 f14-20020a170902ce8e00b0017f5eb2cf6csi1850525plg.375.2022.12.09.07.50.48; Fri, 09 Dec 2022 07:51:02 -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=@linutronix.de header.s=2020 header.b=IL1SHomh; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=WfWZ1lIe; 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 S229896AbiLIPrs (ORCPT + 99 others); Fri, 9 Dec 2022 10:47:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230256AbiLIPr1 (ORCPT ); Fri, 9 Dec 2022 10:47:27 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 152DC30578; Fri, 9 Dec 2022 07:47:26 -0800 (PST) Date: Fri, 09 Dec 2022 15:47:22 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1670600843; 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=C6UfZriK7ryc7OxQIk3jAf9chxTyoygDgagwMczktRM=; b=IL1SHomh5R7RzTfwiyU8++kZ4eJxd+9UuI08JF3d08ccnQxL0uHUdbg23s4ZPnQ4wmhD84 zvR2mISpdJXqGcz2Xyr5p1PWexXGYmf8T6Od50Lkv6RTbF1JB0Lv7IbBPpDeEb0jKnKhEE MCIBa/hFzf5oKxqg96/uXGsx3jucz30/DSdQNcZyXVj9m+f3S4Q084Lfzr3MjjajpFBOyS BdyK3qPT6YdJZPpdu2uw2eJwQKNjCn0MiwCZsucshU0AQPXhjDQhOxEGhFPID8CycLbnP5 pa8nTJplW/RbDWL1pKvZJb0/WfLZI9f9EFicKC/GfUydjk3qZ0n2bMnUvxGoaA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1670600843; 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=C6UfZriK7ryc7OxQIk3jAf9chxTyoygDgagwMczktRM=; b=WfWZ1lIe4aW8ioVfd7WpOLHCs6dQONOD/7SF0jTDKFO3OVxPyKNdw/EKshNwXNfEoxtWZk Ao9CYY533rE2lABg== From: "tip-bot2 for Tony Lindgren" 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/timer-ti-dm: Make timer_get_irq static Cc: Janusz Krzysztofik , Tony Lindgren , Daniel Lezcano , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20221028103604.40385-1-tony@atomide.com> References: <20221028103604.40385-1-tony@atomide.com> MIME-Version: 1.0 Message-ID: <167060084293.4906.12524389435777602440.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 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?1747927526464682406?= X-GMAIL-MSGID: =?utf-8?q?1751752179354983083?= The following commit has been merged into the timers/core branch of tip: Commit-ID: dedb2aced3e958c6f4811d3e6b392652ff0eea01 Gitweb: https://git.kernel.org/tip/dedb2aced3e958c6f4811d3e6b392652ff0eea01 Author: Tony Lindgren AuthorDate: Fri, 28 Oct 2022 13:36:04 +03:00 Committer: Daniel Lezcano CommitterDate: Fri, 02 Dec 2022 13:16:46 +01:00 clocksource/drivers/timer-ti-dm: Make timer_get_irq static We can make timer_get_irq() static as noted by Janusz. It is only used by omap_rproc_get_timer_irq() via platform data. Reported-by: Janusz Krzysztofik Signed-off-by: Tony Lindgren Link: https://lore.kernel.org/r/20221028103604.40385-1-tony@atomide.com Signed-off-by: Daniel Lezcano --- drivers/clocksource/timer-ti-dm.c | 2 +- include/clocksource/timer-ti-dm.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/clocksource/timer-ti-dm.c b/drivers/clocksource/timer-ti-dm.c index 00af1a8..eeeeb3c 100644 --- a/drivers/clocksource/timer-ti-dm.c +++ b/drivers/clocksource/timer-ti-dm.c @@ -643,7 +643,7 @@ static int omap_dm_timer_free(struct omap_dm_timer *cookie) return 0; } -int omap_dm_timer_get_irq(struct omap_dm_timer *cookie) +static int omap_dm_timer_get_irq(struct omap_dm_timer *cookie) { struct dmtimer *timer = to_dmtimer(cookie); if (timer) diff --git a/include/clocksource/timer-ti-dm.h b/include/clocksource/timer-ti-dm.h index 77eceea..dcc1712 100644 --- a/include/clocksource/timer-ti-dm.h +++ b/include/clocksource/timer-ti-dm.h @@ -62,8 +62,6 @@ struct omap_dm_timer { }; -int omap_dm_timer_get_irq(struct omap_dm_timer *timer); - u32 omap_dm_timer_modify_idlect_mask(u32 inputmask); /*