mmc: queue: Factor out mmc_queue_reqs_free_bufs()
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 29 Nov 2016 10:09:14 +0000 (12:09 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 5 Dec 2016 09:31:06 +0000 (10:31 +0100)
commitc09949cff5eb408c30f154207ebdc706d94fe1f3
tree7159e0870e289c8c7e734c2107b23a48689feb7e
parent64e29e42a61b8b531eb77f363ddb8e507dfd35ed
mmc: queue: Factor out mmc_queue_reqs_free_bufs()

In preparation for supporting a queue of requests, factor out
mmc_queue_reqs_free_bufs().

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Harjani Ritesh <riteshh@codeaurora.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/card/queue.c