commit | 7aceaf566e1d6f7bf29516d680ee883697909cc7 | [log] [tgz] |
---|---|---|
author | Heiner Kallweit <hkallweit1@gmail.com> | Wed Mar 22 21:59:29 2017 +0100 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Mon Apr 24 21:41:42 2017 +0200 |
tree | 60dbce529a8f938934a1180c207af0bbbdbf57ea | |
parent | 474e25e15f508889d4f8c672ab54323743ee595b [diff] |
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>