aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorNathan Chancellor <natechancellor@gmail.com>2020-12-25 18:35:49 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2020-12-25 19:59:02 -0800
commitc9a3c4e637ac2dce534f7e9e5a80aed93410ccad (patch)
tree9923f462cb4c155364d0fd7bd045c3e6982f98f4 /drivers
parentdrm/amd/display: avoid uninitialized variable warning (diff)
downloadlinux-dev-c9a3c4e637ac2dce534f7e9e5a80aed93410ccad.tar.xz
linux-dev-c9a3c4e637ac2dce534f7e9e5a80aed93410ccad.zip
mfd: ab8500-debugfs: Remove extraneous curly brace
Clang errors: drivers/mfd/ab8500-debugfs.c:1526:2: error: non-void function does not return a value [-Werror,-Wreturn-type] } ^ drivers/mfd/ab8500-debugfs.c:1528:2: error: expected identifier or '(' return 0; ^ drivers/mfd/ab8500-debugfs.c:1529:1: error: extraneous closing brace ('}') } ^ 3 errors generated. The cleanup in ab8500_interrupts_show left a curly brace around, remove it to fix the error. Fixes: 886c8121659d ("mfd: ab8500-debugfs: Remove the racy fiddling with irq_desc") Signed-off-by: Nathan Chancellor <natechancellor@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mfd/ab8500-debugfs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mfd/ab8500-debugfs.c b/drivers/mfd/ab8500-debugfs.c
index a32039366a93..1cf84562351e 100644
--- a/drivers/mfd/ab8500-debugfs.c
+++ b/drivers/mfd/ab8500-debugfs.c
@@ -1521,7 +1521,6 @@ static int ab8500_interrupts_show(struct seq_file *s, void *p)
line + irq_first,
num_interrupts[line],
num_wake_interrupts[line]);
- }
seq_putc(s, '\n');
}