diff options
author | Devendra Naga <devendra.aaru@gmail.com> | 2012-12-17 16:02:41 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-17 17:15:21 -0800 |
commit | f288cf416ec22de3c5bc18148b6f7620aa32409b (patch) | |
tree | afaac208fbd83543c3166a6c21acb2452e98f96f /lib/cpu_rmap.c | |
parent | 9ed39bf931cbd95b30755dcb1ad724fe05565c3f (diff) |
rtc: rtc-davinci: use devm_kzalloc()
Use devm_kzalloc() and remove the error path free and the unload free as
devm functions take care of freeing resources.
Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Miguel Aguilar <miguel.aguilar@ridgerun.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/cpu_rmap.c')
0 files changed, 0 insertions, 0 deletions