mmc: queue: Factor out mmc_queue_alloc_sgs()
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 29 Nov 2016 10:09:13 +0000 (12:09 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 5 Dec 2016 09:31:05 +0000 (10:31 +0100)
commit64e29e42a61b8b531eb77f363ddb8e507dfd35ed
tree657a6047a0f75e911a2eeb4f5dd1e96898fdd6ca
parentf2b8b522cf643baa367b6834a49ff3e12cfa9136
mmc: queue: Factor out mmc_queue_alloc_sgs()

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

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