]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: ab8500-debugfs: Remove extraneous curly brace
authorNathan Chancellor <natechancellor@gmail.com>
Sat, 26 Dec 2020 01:35:49 +0000 (18:35 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 26 Dec 2020 03:59:02 +0000 (19:59 -0800)
commita8972f80c6d037f8ea17d75e6b12086a598ff830
tree9923f462cb4c155364d0fd7bd045c3e6982f98f4
parent0c986cf34f6c8434b41e2874c7bd8ab96d46aa5a
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: 4cbf5db632b2 ("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>
drivers/mfd/ab8500-debugfs.c