mmc: remove unncessary mmc_gpio_free_cd() call from slot-gpio users
authorShawn Guo <shawn.guo@linaro.org>
Tue, 11 Dec 2012 14:32:19 +0000 (22:32 +0800)
committerChris Ball <cjb@laptop.org>
Mon, 28 Jan 2013 11:51:31 +0000 (06:51 -0500)
commit60fe3ec12122be39e673580c8870f4b92e546bf9
treeca79ae81106c46519169df3f71fc460ccbe9f4cd
parentc8bdfea7c3e60c99ce7cc3459d8acfa0ce8854e3
mmc: remove unncessary mmc_gpio_free_cd() call from slot-gpio users

Since slot-gpio uses devm_* managed functions in mmc_gpio_request_cd()
now, we can remove those mmc_gpio_free_cd() call from host drivers'
.probe() error path and .remove().

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-pxav3.c
drivers/mmc/host/sh_mmcif.c
drivers/mmc/host/tmio_mmc_pio.c