diff options
author | Lee Jones <lee.jones@linaro.org> | 2016-09-14 12:56:34 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2016-10-04 16:48:05 +0200 |
commit | 364c517edc3f1ebeeb6960711628b2340bb904be (patch) | |
tree | 894994f9ece518c133e1175247bec9c95842046e /drivers/mfd/ab8500-debugfs.c | |
parent | mfd: ab8500-debugfs: Remove ab8500_dump_all_banks_to_mem() (diff) | |
download | linux-364c517edc3f1ebeeb6960711628b2340bb904be.tar.xz linux-364c517edc3f1ebeeb6960711628b2340bb904be.zip |
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>
Diffstat (limited to 'drivers/mfd/ab8500-debugfs.c')
-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]; 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) |