]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/rtc/rtc-vt8500.c: convert to use devm_kzalloc
authorDevendra Naga <devendra.aaru@gmail.com>
Fri, 9 Nov 2012 03:04:58 +0000 (14:04 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 13 Nov 2012 05:15:51 +0000 (16:15 +1100)
commit1d86d4513a643e1d5862c7bfd5cf30935df4cc6d
tree25ba28fbbd83f9caf8a5192dea9623db1ea29d8d
parent8654a92c2644aba557453ae418480d59e407a088
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>
drivers/rtc/rtc-vt8500.c