diff options
author | 2017-11-29 15:40:59 +0200 | |
---|---|---|
committer | 2017-12-11 12:44:31 +0100 | |
commit | 41e3efd07d5a02c80f503e29d755aa1bbb4245de (patch) | |
tree | a2a8fdcdcabf25d49ccf50204ce9502bcf9d5cd5 /drivers/mmc/core/queue.h | |
parent | mmc: block: No need to export mmc_cleanup_queue() (diff) | |
download | wireguard-linux-41e3efd07d5a02c80f503e29d755aa1bbb4245de.tar.xz wireguard-linux-41e3efd07d5a02c80f503e29d755aa1bbb4245de.zip |
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>
Diffstat (limited to 'drivers/mmc/core/queue.h')
0 files changed, 0 insertions, 0 deletions