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, 11 Feb 2013 17:51:23 +0000 (12:51 -0500)
commit164cda5236acf833f22a3edafdf8b95a7de7b402
treeb3454982280dd6a88fadfa194700d9ef3d1ffb8c
parentd65b5ae8dabf48d8e7811a5319ec581e41b04d62
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