mtd: nand: atmel: use another functions to set gpio value
authorWenyou Yang <wenyou.yang@atmel.com>
Thu, 23 Mar 2017 04:55:21 +0000 (12:55 +0800)
committerSimon Glass <sjg@chromium.org>
Thu, 13 Apr 2017 20:44:49 +0000 (14:44 -0600)
commit0de077df38a6a1120acf7833572d1ffc8f209f33
tree2139d3a3bc52fce51235d4b54d4f036a165f1083
parent8c4e4101d68ca075bba641c88a398ee8ed81b07f
mtd: nand: atmel: use another functions to set gpio value

Because there isn't the implementation of gpio_set/get_value()
and gpio_set/get_value() after the at91 gpio driver is converted
to support the driver model, use at91_set_gpio_value() and
at91_get_gpio_value()

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/mtd/nand/atmel_nand.c