mmc: slot-gpio: Remove option to explicitly free requested CD/WP GPIOs
authorUlf Hansson <ulf.hansson@linaro.org>
Thu, 18 Dec 2014 14:44:32 +0000 (15:44 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 19 Jan 2015 08:56:16 +0000 (09:56 +0100)
commiteddbc3abc5bf11bdfc92ef84fd97ec4d379b7278
treeddca9bee9a9c0aa6b7c8c253a16ec7691e128c7b
parentc2f28eecdab3894a931c34c1904bdb502bd0a05f
mmc: slot-gpio: Remove option to explicitly free requested CD/WP GPIOs

The slot-gpio uses the devm*_ managed functions. Still it provide APIs
to explicitly free requested CD/WP GPIOs, but these API isn't being
used.

Therefore let's simplify slot-gpio by removing these unused APIs. If it
later turns out we need some of them, we can always consider to restore
the code.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/slot-gpio.c
include/linux/mmc/slot-gpio.h