staging: mt29f_spinand: make use of nand_set/get_controller_data() helpers
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Thu, 10 Dec 2015 08:00:42 +0000 (09:00 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 7 Jan 2016 18:23:41 +0000 (10:23 -0800)
commitf07dcb90e4a9ccab9663a50847f255c9b0e2ada1
treef24c1e3c859e86ea91dcb3536f8ca439433b647d
parentd699ed250c07384840263bbbf69cf7b90b45470c
staging: mt29f_spinand: make use of nand_set/get_controller_data() helpers

New helpers have been added to avoid directly accessing chip->field. Use
them 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