diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2012-12-18 01:02:29 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-18 02:15:20 +0100 |
commit | bdaa2c63b060ae082ab4f20378c1a6307b59b8db (patch) | |
tree | ae9c4a3e01bc4ac74350bd5330f725ce56e6d654 /tools | |
parent | drivers/rtc/rtc-test.c: avoid calling platform_device_put() twice (diff) | |
download | linux-bdaa2c63b060ae082ab4f20378c1a6307b59b8db.tar.xz linux-bdaa2c63b060ae082ab4f20378c1a6307b59b8db.zip |
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>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions