]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitda2fd3038b77778087790c2eb350408a062f3969
treefafc98e1e9b4b93d3fbec5c08777678137ced782
parenta284f6f340e7261367157472922bce4b31c28a2d
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