Skip to contentSkip to conversation

clocksource: bcm_kona_timer: Remove unused bcm_timer_ids

PATCH Applied Axel Lin 2 participants 2 messages Nov 25, 2013 – Nov 28, 2013

Subsystems (2)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 clocksource: bcm_kona_timer: Remove unused bcm_timer_ids

bcm_timer_ids is no longer used after converting to CLOCKSOURCE_OF_DECLARE.

---
 drivers/clocksource/bcm_kona_timer.c | 6 ------
 1 file changed, 6 deletions(-)
drivers/clocksource/bcm_kona_timer.c +0 -6
index 0d7d8c3..5176e76 100644
@@ -98,12 +98,6 @@ kona_timer_get_counter(void *timer_base, uint32_t *msw, uint32_t *lsw)
 	return;
 }
 
-static const struct of_device_id bcm_timer_ids[] __initconst = {
-	{.compatible = "brcm,kona-timer"},
-	{.compatible = "bcm,kona-timer"}, /* deprecated name */
-	{},
-};
-
 static void __init kona_timers_init(struct device_node *node)
 {
 	u32 freq;
Signature · 1 line
1.8.1.2
#1 lore raw
Quoted 15 lines · Axel Lin

bcm_timer_ids is no longer used after converting to CLOCKSOURCE_OF_DECLARE.

---
  drivers/clocksource/bcm_kona_timer.c | 6 ------
  1 file changed, 6 deletions(-)
drivers/clocksource/bcm_kona_timer.c +0 -0
index 0d7d8c3..5176e76 100644
@@ -98,12 +98,6 @@ kona_timer_get_counter(void *timer_base, uint32_t *msw, uint32_t *lsw)
  	return;
  }

drivers/clocksource/bcm_kona_timer.c kona_timer_get_counter(void *timer_base, uint32_t *msw, uint32_t *lsw) · line 103

Quoted 10 lines
drivers/clocksource/bcm_kona_timer.c +0 -6
 
-static const struct of_device_id bcm_timer_ids[] __initconst = {
-	{.compatible = "brcm,kona-timer"},
-	{.compatible = "bcm,kona-timer"}, /* deprecated name */
-	{},
-};
-
  static void __init kona_timers_init(struct device_node *node)
  {
  	u32 freq;

Applied to my tree for 3.13 fixes.

Thanks !
-- Daniel

Signature · 5 lines
 <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog