]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
sf: Remove spi_flash_cmd_poll_bit()
authorJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Sun, 26 May 2013 18:07:11 +0000 (23:37 +0530)
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Sun, 23 Jun 2013 16:32:51 +0000 (22:02 +0530)
commitba549de6c53663e534a20741f9ec917fb6526830
tree3ae1a106bed1902c09d3a60abf64defc1408de56
parent76e98d48179c60f2fc06ac90d41de060c9d5b42d
sf: Remove spi_flash_cmd_poll_bit()

There is no other call other than spi_flash_cmd_wait_ready(),
hence removed spi_flash_cmd_poll_bit and use the poll status code
spi_flash_cmd_wait_ready() itself.

Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/mtd/spi/spi_flash.c
drivers/mtd/spi/spi_flash_internal.h