Adrian Hunter 41e3efd07d mmc: block: Simplify cleaning up the queue
Use blk_cleanup_queue() to shutdown the queue when the driver is removed,
and instead get an extra reference to the queue to prevent the queue being
freed before the final mmc_blk_put().

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Tested-by: Linus Walleij <linus.walleij@linaro.org>
2017-12-11 12:44:31 +01:00
..
2017-11-13 10:17:35 -08:00
2017-04-24 21:42:19 +02:00
2017-04-24 21:42:19 +02: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