diff options
author | tcharding <me@tobin.cc> | 2017-03-15 19:48:04 +1100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-04-24 21:41:24 +0200 |
commit | 8e11b284eaa86863f700216e4d3c87e7d7b3f44c (patch) | |
tree | 83b6c8e787151f1b6b653ffe4b66bfb7c15c685b /Documentation | |
parent | 9b980d950e5bcdce6dbc15a9c00ff960beeea28b (diff) |
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>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions