linux/drivers/mmc/core
tcharding 8e11b284ea mmc: core: simplify return code
File contains multiple functions doing variations on the same thing,
sdio_readb(), sdio_writeb()f, sdio_readw(), sdio_writew()
etc. Although the functions have very similar logic the code is laid
out in a variety of ways. This makes it overly complicated to
read. There is a already a nice clean chunk of code, if we use this
format for all instances then we will have cleaned up the code,
reduced the line count and lessened the cognitive load required while
reading. Less lines equals less bugs.

Pick the most simple and clear code flow and change all functions to
be the same.

Signed-off-by: Tobin C. Harding <me@tobin.cc>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2017-04-24 21:41:24 +02:00
..
block.c mmc: core: mmc_blk_rw_cmd_err - remove unused variable 2017-03-16 15:19:07 +01:00
block.h
bus.c
bus.h
card.h mmc: core: change quirks.c to be a header file 2017-02-15 11:34:26 +01:00
core.c mmc: core: start to break apart mmc_start_areq() 2017-02-14 09:10:53 +01:00
core.h
debugfs.c
host.c mmc: core: fix error path in mmc_host_alloc 2017-02-13 13:20:48 +01:00
host.h
Kconfig
Makefile mmc: core: change quirks.c to be a header file 2017-02-15 11:34:26 +01:00
mmc_ops.c
mmc_ops.h
mmc_test.c mmc: core: rename mmc_start_req() to *areq() 2017-02-13 13:20:58 +01:00
mmc.c mmc: core: Fix access to HS400-ES devices 2017-03-14 17:07:45 +01:00
pwrseq_emmc.c
pwrseq_sd8787.c
pwrseq_simple.c
pwrseq.c
pwrseq.h
queue.c MMC core: 2017-02-21 12:04:54 -08:00
queue.h mmc: queue: turn queue flags into bools 2017-02-13 13:21:00 +01:00
quirks.h mmc: core: add mmc prefix for blk_fixups 2017-02-15 11:34:27 +01:00
sd_ops.c
sd_ops.h
sd.c
sd.h
sdio_bus.c mmc: sdio: fix alignment issue in struct sdio_func 2017-04-18 19:18:07 +02:00
sdio_bus.h
sdio_cis.c
sdio_cis.h
sdio_io.c mmc: core: simplify return code 2017-04-24 21:41:24 +02:00
sdio_irq.c sched/headers: Prepare for new header dependencies before moving code to <uapi/linux/sched/types.h> 2017-03-02 08:42:27 +01:00
sdio_ops.c
sdio_ops.h
sdio_uart.c
sdio.c mmc: core: improve the quirks for sdio devices 2017-02-15 11:34:26 +01:00
slot-gpio.c
slot-gpio.h