diff options
author | Lee Jones <lee.jones@linaro.org> | 2016-09-14 06:56:34 -0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2016-10-04 10:48:05 -0400 |
commit | 364c517edc3f1ebeeb6960711628b2340bb904be (patch) | |
tree | 894994f9ece518c133e1175247bec9c95842046e | |
parent | e58d3e76be1b5f7f2666dc6aed4dcd065397fd3f (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.c | 10 |
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]; | |||
1522 | static u32 num_wake_interrupts[AB8500_MAX_NR_IRQS]; | 1522 | static u32 num_wake_interrupts[AB8500_MAX_NR_IRQS]; |
1523 | static int num_interrupt_lines; | 1523 | static int num_interrupt_lines; |
1524 | 1524 | ||
1525 | bool __attribute__((weak)) suspend_test_wake_cause_interrupt_is_mine(u32 my_int) | ||
1526 | { | ||
1527 | return false; | ||
1528 | } | ||
1529 | |||
1530 | void ab8500_debug_register_interrupt(int line) | 1525 | void 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 | ||
1539 | static int ab8500_interrupts_print(struct seq_file *s, void *p) | 1531 | static int ab8500_interrupts_print(struct seq_file *s, void *p) |