]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: rtc-spear: use devm_*() routines
authorViresh Kumar <viresh.kumar@linaro.org>
Tue, 18 Dec 2012 00:02:29 +0000 (16:02 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 18 Dec 2012 01:15:20 +0000 (17:15 -0800)
commite2b56e309a98d1b19fe6f8543eb1c248df1ad559
treeae9c4a3e01bc4ac74350bd5330f725ce56e6d654
parent2f70374d9c5f1c739d5d5a8848a39ffed9fb6ba2
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-spear.c