]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commite3af31c6c61fd036af459e5d3c1260a6cbb7810e
tree54c88098681f86346537d8ac7f35003bc611a974
parent8ed765aac31b473e1881986d9fe2b6386f49f933
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