]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: rtc-spear: use devm_*() routines
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 29 Nov 2012 03:18:44 +0000 (14:18 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 5 Dec 2012 05:23:40 +0000 (16:23 +1100)
commit2bbc680327c78a46354d94b2f9c8104e7965cf97
tree8d9adfc57d1de76e71924be5b43af919ffb62cc5
parenta0a40124903a1b37eb431d6be054a02a7a00063a
rtc: rtc-spear: use devm_*() routines

Free the rtc-spear driver from tension of freeing resources :) devm_*
derivatives of multiple routines are used while allocating resources,
which would be freed automatically by kernel.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Deepak Sikri <deepak.sikri@st.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/rtc-spear.c