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)
commit6da27b469317435b776114649439e32384165aa5
treed185ff41f12d8a4f67a539a5c8e90a20ed811460
parent63757d463ea683b469c1976032054d46cecdef09
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