mmc: slot-gpio: Rework how to handle allocation of slot-gpio data
authorUlf Hansson <ulf.hansson@linaro.org>
Thu, 18 Dec 2014 14:44:36 +0000 (15:44 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 19 Jan 2015 08:56:18 +0000 (09:56 +0100)
By moving the allocation of the slot-gpio data into mmc_alloc_host(),
we can remove the slot-gpio internal calls to mmc_gpio_alloc().

This means mmc_gpio_alloc() has now only one caller left, which
consequence allow us to simplify and remove some of the slot-gpio code.

Additionally, this makes the slot-gpio mutex redundant, so let's remove
it.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>

No differences found