]> 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)
commit96fa3e21e0a7bddad52d086a4bf5ef5088c6b08d
treefeeb08ca462507844ac1e94d91e613ec8abe2874
parentac974abba5d408b4573934ed8eb64bd4cdf903d4
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