]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci-imx-esdhc: use more devm_* functions
authorShawn Guo <shawn.guo@linaro.org>
Mon, 26 Nov 2012 06:39:43 +0000 (14:39 +0800)
committerChris Ball <cjb@laptop.org>
Thu, 6 Dec 2012 18:55:06 +0000 (13:55 -0500)
commit6072e7e38d95c2205195e37090c6ede941fe98ff
tree54c88098681f86346537d8ac7f35003bc611a974
parent882d7964aa783a4137352ee3926884f4b8c96a51
mmc: sdhci-imx-esdhc: use more devm_* functions

Use devm_kzalloc, devm_gpio_request_one and devm_request_irq to make
cleanup path simpler.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-esdhc-imx.c