]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
rtc: rtc-spear: use devm_*() routines
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 9 Nov 2012 03:04:59 +0000 (14:04 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 14 Nov 2012 04:55:18 +0000 (15:55 +1100)
commit9384fe19c5e07518248a8b9954ea4e3e561fcbbf
tree67797847787de8aaa3b240affc6f6dea71e3b9dd
parent20d54b2829232161fd318885fb824ffc03db3a68
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