drivers/rtc/rtc-vt8500.c: convert to use devm_kzalloc
authorDevendra Naga <devendra.aaru@gmail.com>
Tue, 18 Dec 2012 00:02:26 +0000 (16:02 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 18 Dec 2012 01:15:20 +0000 (17:15 -0800)
commit0d7ecb8389a34f650f0d4ab23a56c94595a75ccf
tree349589579192687b91d4340de2c7a0458e487975
parent968d21c2cf01bde4b0e3ff0b0f821b51b9da8ffd
drivers/rtc/rtc-vt8500.c: convert to use devm_kzalloc

Replace the kzalloc() and kfree() calls with devm_kzalloc().

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Alexey Charkov <alchark@gmail.com>
Acked-by: Tony Prisk <linux@prisktech.co.nz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-vt8500.c