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

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