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)
commit6ebaf8f2b0f9e67ac2e00ba7af04a58b39312b3c
treedb399b2036495852b498ff6e4151b945d1d7e34f
parent3524b5d1edbcaf0aae9196ac942d8307624ff3f0
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