mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
MIPS: ralink: Remove unused timer functions
am: dd2419e1ce
Change-Id: Ib164f449eb5dc589d8218a200f32e0b654ee1222
This commit is contained in:
@@ -71,11 +71,6 @@ static int rt_timer_request(struct rt_timer *rt)
|
||||
return err;
|
||||
}
|
||||
|
||||
static void rt_timer_free(struct rt_timer *rt)
|
||||
{
|
||||
free_irq(rt->irq, rt);
|
||||
}
|
||||
|
||||
static int rt_timer_config(struct rt_timer *rt, unsigned long divisor)
|
||||
{
|
||||
if (rt->timer_freq < divisor)
|
||||
@@ -101,15 +96,6 @@ static int rt_timer_enable(struct rt_timer *rt)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void rt_timer_disable(struct rt_timer *rt)
|
||||
{
|
||||
u32 t;
|
||||
|
||||
t = rt_timer_r32(rt, TIMER_REG_TMR0CTL);
|
||||
t &= ~TMR0CTL_ENABLE;
|
||||
rt_timer_w32(rt, TIMER_REG_TMR0CTL, t);
|
||||
}
|
||||
|
||||
static int rt_timer_probe(struct platform_device *pdev)
|
||||
{
|
||||
struct resource *res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
|
||||
|
||||
Reference in New Issue
Block a user