mtd: nand: denali: move multi device fixup code to a helper function
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 22 Mar 2017 20:07:20 +0000 (05:07 +0900)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Mon, 27 Mar 2017 15:58:11 +0000 (17:58 +0200)
commit1f0301929b38660ea8ba714d0a32768f8d5d9a59
treed185ff41f12d8a4f67a539a5c8e90a20ed811460
parentf410447c6affec090fa1bd16da41fca5cbe54e17
mtd: nand: denali: move multi device fixup code to a helper function

Collect multi NAND fixups into a helper function instead of
scattering them in denali_init().

I am rewording the comment block to clearly explain what is called
"multi device".

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