cmd: nand: remove direct access to struct mtd_info->priv
authorGrygorii Strashko <grygorii.strashko@ti.com>
Tue, 27 Jun 2017 00:12:58 +0000 (19:12 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 12 Jul 2017 02:41:47 +0000 (22:41 -0400)
commit6308e71be484be4cc4df8889cf22a77bc0cde48e
treeaadb59ac51d2e180ce1a0db05ec185a07f859b5a
parenteb6a5c3c020099bbbc41cf3509718828ec1733cc
cmd: nand: remove direct access to struct mtd_info->priv

Replace direct access to struct mtd_info->priv with proper
accessor mtd_to_nand().

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
cmd/nand.c