mips: nand: make use of mtd_to_nand() where appropriate
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Tue, 1 Dec 2015 11:03:01 +0000 (12:03 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 8 Dec 2015 21:03:07 +0000 (13:03 -0800)
commitb1afda0e336f3b65e1dc765e3405d3231d9782fe
tree70f760c30eaf8a4c5605c83631cc58a41251913b
parent9eba47ddd8fee8a21f45e6e1d707103f040d90c7
mips: nand: make use of mtd_to_nand() where appropriate

mtd_to_nand() was recently introduced to avoid direct accesses to the
mtd->priv field. Update all MIPS specific implementations to use this
helper.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
arch/mips/alchemy/devboards/db1200.c
arch/mips/alchemy/devboards/db1300.c
arch/mips/alchemy/devboards/db1550.c
arch/mips/pnx833x/common/platform.c
arch/mips/rb532/devices.c