summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-pcf8523.c
diff options
context:
space:
mode:
authorDevendra Naga <devendra.aaru@gmail.com>2012-12-18 01:02:41 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2012-12-18 02:15:21 +0100
commitf288cf416ec22de3c5bc18148b6f7620aa32409b (patch)
treeafaac208fbd83543c3166a6c21acb2452e98f96f /drivers/rtc/rtc-pcf8523.c
parentrtc: rtc-davinci: return correct error code if rtc_device_register() fails (diff)
downloadlinux-f288cf416ec22de3c5bc18148b6f7620aa32409b.tar.xz
linux-f288cf416ec22de3c5bc18148b6f7620aa32409b.zip
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 '')
0 files changed, 0 insertions, 0 deletions