* [PATCH] clocksource/drivers/timer-ti-dm: Fix warning for omap_timer_match
@ 2022-10-28 10:35 Tony Lindgren
2022-12-09 15:47 ` [tip: timers/core] " tip-bot2 for Tony Lindgren
0 siblings, 1 reply; 2+ messages in thread
From: Tony Lindgren @ 2022-10-28 10:35 UTC (permalink / raw)
To: Daniel Lezcano, Thomas Gleixner
Cc: Grygorii Strashko, Keerthy, Ladislav Michl, Nishanth Menon,
Suman Anna, Vignesh Raghavendra, linux-kernel, linux-omap,
linux-arm-kernel, kernel test robot
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 <lkp@intel.com>
Fixes: ab0bbef3ae0f ("clocksource/drivers/timer-ti-dm: Make timer selectable for ARCH_K3")
Signed-off-by: Tony Lindgren <tony@atomide.com>
---
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [tip: timers/core] clocksource/drivers/timer-ti-dm: Fix warning for omap_timer_match
2022-10-28 10:35 [PATCH] clocksource/drivers/timer-ti-dm: Fix warning for omap_timer_match Tony Lindgren
@ 2022-12-09 15:47 ` tip-bot2 for Tony Lindgren
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot2 for Tony Lindgren @ 2022-12-09 15:47 UTC (permalink / raw)
To: linux-tip-commits
Cc: kernel test robot, Tony Lindgren, Daniel Lezcano, x86, linux-kernel
The following commit has been merged into the timers/core branch of tip:
Commit-ID: 9688498b1648aa98a3ee45d9f07763c099f6fb12
Gitweb: https://git.kernel.org/tip/9688498b1648aa98a3ee45d9f07763c099f6fb12
Author: Tony Lindgren <tony@atomide.com>
AuthorDate: Fri, 28 Oct 2022 13:35:26 +03:00
Committer: Daniel Lezcano <daniel.lezcano@kernel.org>
CommitterDate: Fri, 02 Dec 2022 13:16:46 +01:00
clocksource/drivers/timer-ti-dm: Fix warning for omap_timer_match
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 <lkp@intel.com>
Fixes: ab0bbef3ae0f ("clocksource/drivers/timer-ti-dm: Make timer selectable for ARCH_K3")
Signed-off-by: Tony Lindgren <tony@atomide.com>
Link: https://lore.kernel.org/r/20221028103526.40319-1-tony@atomide.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org>
---
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
index cad29de..00af1a8 100644
--- 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,
},
};
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-12-09 15:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-28 10:35 [PATCH] clocksource/drivers/timer-ti-dm: Fix warning for omap_timer_match Tony Lindgren
2022-12-09 15:47 ` [tip: timers/core] " tip-bot2 for Tony Lindgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®