sdhci: acpi: add free_slot callback
authorWang Dongsheng <dongsheng.wang@hxt-semitech.com>
Thu, 16 Aug 2018 04:48:42 +0000 (12:48 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Nov 2018 19:08:23 +0000 (11:08 -0800)
commitcf6e9d033d95b06f198b88df22e4942a61569f3d
tree2792d15c8f72f4479fb4ce2db06e4d25069d1ebb
parent3625a5515a8474314b5c48524a245f4e4cfb3a3c
sdhci: acpi: add free_slot callback

[ Upstream commit c7eabbee3de99347105faa7fd925a500ccf43baf ]

The device specific resource can be free in free_slot after
removing host controller.

Signed-off-by: Wang Dongsheng <dongsheng.wang@hxt-semitech.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mmc/host/sdhci-acpi.c