diff options
| author | Heiner Kallweit <hkallweit1@gmail.com> | 2017-03-22 23:59:29 +0300 |
|---|---|---|
| committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-04-24 22:41:42 +0300 |
| commit | 7aceaf566e1d6f7bf29516d680ee883697909cc7 (patch) | |
| tree | 60dbce529a8f938934a1180c207af0bbbdbf57ea /include/linux/moduleloader.h | |
| parent | 474e25e15f508889d4f8c672ab54323743ee595b (diff) | |
| download | linux-7aceaf566e1d6f7bf29516d680ee883697909cc7.tar.xz | |
mmc: sdio: improve mmc_io_rw_extended
Improve mmc_io_rw_extended a little:
- using DIV_ROUND_UP achieves the same but is better readable
- simplify code by using sg_set_buf
- simplify one statement by using -= operator
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'include/linux/moduleloader.h')
0 files changed, 0 insertions, 0 deletions
