]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
rtc: rtc-spear: use devm_*() routines
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 15 Nov 2012 02:38:32 +0000 (13:38 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 15 Nov 2012 06:32:11 +0000 (17:32 +1100)
commit67f410b87dfd4b9c39aacc09cff9a1cd11d0bca9
tree2758f905d097cc72587687d2ee8eec97d77be62f
parent91a06dd8467c89ab6bb87273684d83fd4b54ef2a
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