]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci-spear: Use devm_* derivatives
authorViresh Kumar <viresh.kumar@st.com>
Tue, 27 Mar 2012 03:10:35 +0000 (08:40 +0530)
committerChris Ball <cjb@laptop.org>
Tue, 1 May 2012 14:30:44 +0000 (10:30 -0400)
commit23ebcf7468836c8ea6ec8d6bca4210558587b964
treedb399b2036495852b498ff6e4151b945d1d7e34f
parentb6d34d5b607b98c982993de19e87cba4d32d43e7
mmc: sdhci-spear: Use devm_* derivatives

This patch replaces normal calls to resource allocation routines
with devm_*() derivative of those routines. This removes the need
to free those resources inside the driver.

Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-spear.c