diff options
author | Heiner Kallweit <[email protected]> | 2017-03-22 21:59:29 +0100 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2017-04-24 21:41:42 +0200 |
commit | 7aceaf566e1d6f7bf29516d680ee883697909cc7 (patch) | |
tree | 60dbce529a8f938934a1180c207af0bbbdbf57ea /lib/mpi/mpi-cmp.c | |
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 <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions