Heiner Kallweit 7aceaf566e 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>
2017-04-24 21:41:42 +02:00
..
2017-02-21 12:04:54 -08:00
2016-12-05 10:31:08 +01:00
2017-04-24 21:41:24 +02:00
2016-12-12 16:30:05 +01:00