Skip to content
Commit e2d1926b authored by Ulf Hansson's avatar Ulf Hansson
Browse files

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: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 7f133de1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment