]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: nand: remove unnecessary extern from driver headers
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 23 Nov 2017 13:18:43 +0000 (22:18 +0900)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Thu, 30 Nov 2017 21:32:49 +0000 (22:32 +0100)
commit6b67ebacdba625f022d464564db7dee997dfb142
treefeeb08ca462507844ac1e94d91e613ec8abe2874
parenta3e31ce4f2d793424a7f42e45daa89e65ec29735
mtd: nand: remove unnecessary extern from driver headers

'extern' is not necessary for function declarations.

scripts/checkpatch.pl with --strict option reports the following:

  CHECK: extern prototypes should be avoided in .h files

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/denali.h
drivers/mtd/nand/gpmi-nand/gpmi-nand.h
drivers/mtd/nand/sm_common.h