mmc: Fix use of wrong device in mmc_gpiod_free_cd()
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 23 Sep 2014 20:00:25 +0000 (23:00 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 29 Sep 2014 09:27:51 +0000 (11:27 +0200)
mmc_gpiod_free_cd() is paired with mmc_gpiod_request_cd()
and both must reference the same device which is the
actual host controller device not the mmc_host class
device.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/slot-gpio.c

Simple merge