mfd: ab8500-debugfs: Remove 'weak' function suspend_test_wake_cause_interrupt_is_mine()
authorLee Jones <lee.jones@linaro.org>
Wed, 14 Sep 2016 10:56:34 +0000 (11:56 +0100)
committerLee Jones <lee.jones@linaro.org>
Tue, 4 Oct 2016 14:48:05 +0000 (15:48 +0100)
There are no other functions which can over-ride it.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/ab8500-debugfs.c

index b948088b3f892711d1d099de0978f6622a930f0b..acf6c00b14b92c3bfb8f990df5778e5267c281ad 100644 (file)
@@ -1522,18 +1522,10 @@ static u32 num_interrupts[AB8500_MAX_NR_IRQS];
 static u32 num_wake_interrupts[AB8500_MAX_NR_IRQS];
 static int num_interrupt_lines;
 
-bool __attribute__((weak)) suspend_test_wake_cause_interrupt_is_mine(u32 my_int)
-{
-       return false;
-}
-
 void ab8500_debug_register_interrupt(int line)
 {
-       if (line < num_interrupt_lines) {
+       if (line < num_interrupt_lines)
                num_interrupts[line]++;
-               if (suspend_test_wake_cause_interrupt_is_mine(irq_ab8500))
-                       num_wake_interrupts[line]++;
-       }
 }
 
 static int ab8500_interrupts_print(struct seq_file *s, void *p)