aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2016-09-14 06:56:34 -0400
committerLee Jones <lee.jones@linaro.org>2016-10-04 10:48:05 -0400
commit364c517edc3f1ebeeb6960711628b2340bb904be (patch)
tree894994f9ece518c133e1175247bec9c95842046e
parente58d3e76be1b5f7f2666dc6aed4dcd065397fd3f (diff)
mfd: ab8500-debugfs: Remove 'weak' function suspend_test_wake_cause_interrupt_is_mine()
There are no other functions which can over-ride it. Signed-off-by: Lee Jones <lee.jones@linaro.org>
-rw-r--r--drivers/mfd/ab8500-debugfs.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/drivers/mfd/ab8500-debugfs.c b/drivers/mfd/ab8500-debugfs.c
index b948088b3f89..acf6c00b14b9 100644
--- a/drivers/mfd/ab8500-debugfs.c
+++ b/drivers/mfd/ab8500-debugfs.c
@@ -1522,18 +1522,10 @@ static u32 num_interrupts[AB8500_MAX_NR_IRQS];
1522static u32 num_wake_interrupts[AB8500_MAX_NR_IRQS]; 1522static u32 num_wake_interrupts[AB8500_MAX_NR_IRQS];
1523static int num_interrupt_lines; 1523static int num_interrupt_lines;
1524 1524
1525bool __attribute__((weak)) suspend_test_wake_cause_interrupt_is_mine(u32 my_int)
1526{
1527 return false;
1528}
1529
1530void ab8500_debug_register_interrupt(int line) 1525void ab8500_debug_register_interrupt(int line)
1531{ 1526{
1532 if (line < num_interrupt_lines) { 1527 if (line < num_interrupt_lines)
1533 num_interrupts[line]++; 1528 num_interrupts[line]++;
1534 if (suspend_test_wake_cause_interrupt_is_mine(irq_ab8500))
1535 num_wake_interrupts[line]++;
1536 }
1537} 1529}
1538 1530
1539static int ab8500_interrupts_print(struct seq_file *s, void *p) 1531static int ab8500_interrupts_print(struct seq_file *s, void *p)