commit | f288cf416ec22de3c5bc18148b6f7620aa32409b | [log] [tgz] |
---|---|---|
author | Devendra Naga <devendra.aaru@gmail.com> | Mon Dec 17 16:02:41 2012 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Mon Dec 17 17:15:21 2012 -0800 |
tree | afaac208fbd83543c3166a6c21acb2452e98f96f | |
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>