commit | e2d1926bad0d0cf7e4b8bf11a8efd1b5fe48893e | [log] [tgz] |
---|---|---|
author | Ulf Hansson <ulf.hansson@linaro.org> | Thu Dec 18 15:44:35 2014 +0100 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Mon Jan 19 09:56:17 2015 +0100 |
tree | 830dfb37db0d7d4eeb56b1531e78ab387e183836 | |
parent | 7f133de1fbe9f496973aaaf22e830433600fa99e [diff] |
mmc: core: Free all resources for the class device at ->dev_release() 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>