sh: nand: make use of mtd_to_nand() where appropriate
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Tue, 1 Dec 2015 11:03:02 +0000 (12:03 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 8 Dec 2015 18:46:13 +0000 (10:46 -0800)
commit7326ffef788dd5823c820a6ac5b5e864e8a486a0
treefafc98e1e9b4b93d3fbec5c08777678137ced782
parent41849d49d7d5307d7399314b59fb16d1c39ce0f0
sh: 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 SH 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/sh/boards/mach-migor/setup.c