sf: unify read/write helpers
authorMike Frysinger <vapier@gentoo.org>
Mon, 10 Jan 2011 07:20:11 +0000 (02:20 -0500)
committerWolfgang Denk <wd@denx.de>
Mon, 11 Apr 2011 19:00:49 +0000 (21:00 +0200)
commit000044d8bfdc803a1a97e68ba95f289bfe5ad149
tree549442d6e15a701d5fcf7fa666339e20318d5cf0
parent17e967b3dfcc0616a135700a2c39287943ffb958
sf: unify read/write helpers

These functions largely do the same exact thing, so unify them all
into one basic function.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
drivers/mtd/spi/spi_flash.c