commit | df8aca162e5ff2b20c7a4de3e64e5b96ff838ab0 | [log] [tgz] |
---|---|---|
author | Ulf Hansson <ulf.hansson@linaro.org> | Thu Dec 18 15:44:36 2014 +0100 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Mon Jan 19 09:56:18 2015 +0100 |
tree | 10fd8c7a3d6892525e89916044e0b8b728b61e2d | |
parent | e2d1926bad0d0cf7e4b8bf11a8efd1b5fe48893e [diff] |
mmc: slot-gpio: Rework how to handle allocation of slot-gpio data 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>