mtd: fsl-quadspi: return amount of data read/written or error
authorMichal Suchanek <hramrach@gmail.com>
Fri, 6 May 2016 00:31:49 +0000 (17:31 -0700)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 2 Jun 2016 00:22:44 +0000 (17:22 -0700)
commitfc0d7e542a0d4193521899d15f8f4999dc295323
tree84957db30f90ca9d9cfdef0a1e72e99db577a079
parent1992297b0810a42d78ec7b4de15304eb0489fd97
mtd: fsl-quadspi: return amount of data read/written or error

Return amount of data read/written or error as read(2)/write(2) does.

Signed-off-by: Michal Suchanek <hramrach@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/spi-nor/fsl-quadspi.c