]> git.ipfire.org Git - people/ms/u-boot.git/commit
mmc: squash lines for immediate return
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 6 Sep 2016 13:17:32 +0000 (22:17 +0900)
committerTom Rini <trini@konsulko.com>
Fri, 23 Sep 2016 21:53:44 +0000 (17:53 -0400)
commit24f5aec3646f2a22d8ff8e02c07d6c9a92a5092a
tree53282ede51b26d1358e8e375d31f1b7eee271dab
parentdf9e4cdabbb9ea2a1a1686d58bc389cb028a41f0
mmc: squash lines for immediate return

These functions can be much simpler by squashing lines for immediate
return.

For *_bind() callbacks, they will be a simple wrapper function of an
upper-level bind API.

For mmc_set_{boot_bus_width,part_conf}, they will be a wrapper of
mmc_switch().

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/atmel_sdhci.c
drivers/mmc/exynos_dw_mmc.c
drivers/mmc/mmc_boot.c
drivers/mmc/msm_sdhci.c
drivers/mmc/rockchip_dw_mmc.c
drivers/mmc/rockchip_sdhci.c
drivers/mmc/sandbox_mmc.c
drivers/mmc/zynq_sdhci.c