board: MCR3000: replace mtd->priv by mtd_to_nand()
authorChristophe Leroy <christophe.leroy@c-s.fr>
Fri, 16 Mar 2018 16:20:49 +0000 (17:20 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 6 Apr 2018 20:30:37 +0000 (16:30 -0400)
commit3949d2a7169cc4abe94bf9bf144a6af180c13dd8
tree84771d2d8b93490f753c3fc134d6356846046730
parent872807b1e57aa0f376d8fd35ea548a8befa8945b
board: MCR3000: replace mtd->priv by mtd_to_nand()

Since commit 17cb4b8f327eb ("mtd: nand: Add+use mtd_to/from_nand and
nand_get/set_controller_data"), mtd_to_nand() has to be used instead
of mtd->priv

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
board/cssi/MCR3000/nand.c