spi: Use mode instead of op_mode_tx
authorJagan Teki <jteki@openedev.com>
Sun, 13 Dec 2015 14:40:33 +0000 (20:10 +0530)
committerJagan Teki <jteki@openedev.com>
Wed, 13 Jan 2016 13:17:25 +0000 (18:47 +0530)
commit095a41d3c281b2c6576ea7e42780b565d619a1af
tree25edd3d2f021063cff33918aca8d76d8a456c2c1
parentf5c3c033f7ebd86e6a6e90f4a97b54d3e0f41d9a
spi: Use mode instead of op_mode_tx

Used mode member from spi_slave{} instead of op_mode_tx.

Cc: Simon Glass <sjg@chromium.org>
Tested-by: Jagan Teki <jteki@openedev.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Jagan Teki <jteki@openedev.com>
drivers/mtd/spi/sf_probe.c
drivers/mtd/spi/spi_flash.c
drivers/spi/ich.c
include/spi.h