nand: fix nand torture to use changed mtd api
authorMax Krummenacher <max.oss.09@gmail.com>
Mon, 30 May 2016 14:28:28 +0000 (16:28 +0200)
committerScott Wood <oss@buserror.net>
Sat, 4 Jun 2016 01:29:05 +0000 (20:29 -0500)
commit667067faa18334f1e28c01b47530b5cce1b6182f
tree5490fbeddf0146ea039beb60245ffb2294247474
parentceee07b65875bb01bef55cba06940ef7afc1afba
nand: fix nand torture to use changed mtd api

The mtd subsystem deprecated and renamed the direct use of the mtd_info
struct's functionpointers. Instead the corresponding mtd_xxx function
should be used.

See also:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=3c3c10bba1e4ccb75b41442e45c1a072f6cded19

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
drivers/mtd/nand/nand_util.c