mmc: core: Free all resources for the class device at ->dev_release()
authorUlf Hansson <ulf.hansson@linaro.org>
Thu, 18 Dec 2014 14:44:35 +0000 (15:44 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 19 Jan 2015 08:56:17 +0000 (09:56 +0100)
To be consistent when freeing data, let's move the idr_remove() call
from mmc_free_host() into the ->dev_release() callback for the class
device.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/host.c

Simple merge