]> git.karo-electronics.de Git - karo-tx-linux.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>
Tue, 4 Dec 2012 18:43:10 +0000 (13:43 -0500)
commita367610067374d0cea1c600935849f1798b7d17b
tree3c172566c973a1c9abd203c177d8a0083c86bdf9
parent4e3727494d23e7fbd7dec49f1416311ae2e98c41
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