mmc: make mmc_set_ios() return status
authorKishon Vijay Abraham I <kishon@ti.com>
Thu, 21 Sep 2017 14:29:59 +0000 (16:29 +0200)
committerJaehoon Chung <jh80.chung@samsung.com>
Fri, 12 Jan 2018 09:11:04 +0000 (18:11 +0900)
commit2a4d212f7110712f51ae8af73abbdb0ae2af0814
treeb62cf2acd5e7bfb8eeb2e2ffc93d1a2a16cd9a1f
parent3862b854740d296356a5cfd3146b270ad3501d97
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: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/mmc/mmc.c
include/mmc.h