staging: mt29f_spinand: make use of mtd_to_nand()
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Tue, 1 Dec 2015 11:03:05 +0000 (12:03 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 8 Dec 2015 18:47:28 +0000 (10:47 -0800)
commita83dfa92850e521dfb6485ad4aa3c7c1fb52f06e
tree15fecea555586941de6065af14cdc5ec05479f50
parent862eba519e79c48fb6ee276081ddb98fe6926f02
staging: mt29f_spinand: make use of mtd_to_nand()

mtd_to_nand() was recently introduced to avoid direct accesses to the
mtd->priv field. Use it where appropriate.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/staging/mt29f_spinand/mt29f_spinand.c
This page took 0.034389 seconds and 5 git commands to generate.