]> git.karo-electronics.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>
Mon, 12 Nov 2012 04:17:26 +0000 (15:17 +1100)
commit0c0b6c2a849250fced5d74220562af2d3ff7e348
tree634419eae79bf8d902357ad7ae69fa90b4459905
parentd36b5325eb67fdd18562c19ea9f7e18cc88ca830
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