powerpc: remove unused legacy LED API
No PPC upstream defconfig actually enables CONFIG_LED_STATUS and we're trying to get rid of the legacy LED API, so let's remove one of its last users. Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
This commit is contained in:
@@ -11,9 +11,6 @@
|
||||
#include <irq_func.h>
|
||||
#include <asm/processor.h>
|
||||
#include <watchdog.h>
|
||||
#ifdef CONFIG_LED_STATUS
|
||||
#include <status_led.h>
|
||||
#endif
|
||||
#include <asm/ptrace.h>
|
||||
|
||||
#ifndef CONFIG_MPC83XX_TIMER
|
||||
@@ -82,10 +79,6 @@ void timer_interrupt(struct pt_regs *regs)
|
||||
if (CFG_SYS_WATCHDOG_FREQ && (timestamp % (CFG_SYS_WATCHDOG_FREQ)) == 0)
|
||||
schedule();
|
||||
#endif /* CONFIG_WATCHDOG || CONFIG_HW_WATCHDOG */
|
||||
|
||||
#ifdef CONFIG_LED_STATUS
|
||||
status_led_tick(timestamp);
|
||||
#endif /* CONFIG_LED_STATUS */
|
||||
}
|
||||
|
||||
ulong get_timer (ulong base)
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
#include <dm.h>
|
||||
#include <irq_func.h>
|
||||
#include <log.h>
|
||||
#include <status_led.h>
|
||||
#include <sysinfo.h>
|
||||
#include <time.h>
|
||||
#include <timer.h>
|
||||
@@ -178,10 +177,6 @@ void timer_interrupt(struct pt_regs *regs)
|
||||
if (CFG_SYS_WATCHDOG_FREQ && (priv->timestamp % (CFG_SYS_WATCHDOG_FREQ)) == 0)
|
||||
schedule();
|
||||
#endif /* CONFIG_WATCHDOG || CONFIG_HW_WATCHDOG */
|
||||
|
||||
#ifdef CONFIG_LED_STATUS
|
||||
status_led_tick(priv->timestamp);
|
||||
#endif /* CONFIG_LED_STATUS */
|
||||
}
|
||||
|
||||
void wait_ticks(ulong ticks)
|
||||
|
||||
Reference in New Issue
Block a user