ARM: nand: make use of mtd_to_nand() where appropriate
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Tue, 1 Dec 2015 11:02:58 +0000 (12:02 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 8 Dec 2015 02:58:20 +0000 (18:58 -0800)
commitc993e09504fca192bac4ac3f5a3411ac68cba2e6
treec208eb6bceee72dab2f5ac6ab9ebbe0f7da99eca
parent9eba47ddd8fee8a21f45e6e1d707103f040d90c7
ARM: 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 ARM specific implementations to use this
helper.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
arch/arm/mach-ep93xx/snappercl15.c
arch/arm/mach-ep93xx/ts72xx.c
arch/arm/mach-imx/mach-qong.c
arch/arm/mach-ixp4xx/ixdp425-setup.c
arch/arm/mach-omap1/board-nand.c
arch/arm/mach-orion5x/ts78xx-setup.c
arch/arm/mach-pxa/balloon3.c
arch/arm/mach-pxa/em-x270.c
arch/arm/mach-pxa/palmtx.c