mmc: make mmc_set_ios() return status
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Fri, 12 May 2017 18:16:29 +0000 (20:16 +0200)
committerJason Liu <jason.hui.liu@nxp.com>
Thu, 2 Nov 2017 18:37:10 +0000 (02:37 +0800)
commit2bcfc01275851d447737747799a8672e269004c5
tree623aa83d298db8e222a616a3e1515618117a3c35
parentca75b23187fcd835e149876b06b19352e92083fd
mmc: make mmc_set_ios() return status

set_ios callback has a return value of 'int' but the mmc_set_ios()
function ignore this. Modify mmc_set_ios() and the callers of mmc_set_ios() to
to return the error status.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/mmc/mmc.c
include/mmc.h