
Dear Mike Frysinger,
In message 1294644014-7560-3-git-send-email-vapier@gentoo.org you wrote:
All of the spi flash drivers implement the status register polling for detecting the device ready state, so unify them all in a new helper function -- spi_flash_wait_ready.
Signed-off-by: Mike Frysinger vapier@gentoo.org
drivers/mtd/spi/atmel.c | 31 +------------------- drivers/mtd/spi/eon.c | 48 ++----------------------------- drivers/mtd/spi/macronix.c | 48 ++----------------------------- drivers/mtd/spi/spansion.c | 41 ++------------------------ drivers/mtd/spi/spi_flash.c | 41 +++++++++++++++++++++++++++ drivers/mtd/spi/spi_flash_internal.h | 15 ++++++++++ drivers/mtd/spi/sst.c | 41 ++------------------------- drivers/mtd/spi/stmicro.c | 48 ++----------------------------- drivers/mtd/spi/winbond.c | 51 ++------------------------------- 9 files changed, 81 insertions(+), 283 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk