drivers/rtc/rtc-max77686.c: use devm_kzalloc()
authorJingoo Han <jg1.han@samsung.com>
Mon, 29 Apr 2013 23:18:30 +0000 (16:18 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 30 Apr 2013 01:28:21 +0000 (18:28 -0700)
commit0f64f853fc622a0b0c7ab255f8605ae40aa45d84
treeb707a55fe215ba7936a8ccdb83455c047cdae458
parentf5b1d3c5d022aeb994f94ed3372102e057925c6a
drivers/rtc/rtc-max77686.c: use devm_kzalloc()

Use devm_kzalloc() to make cleanup paths more simple.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-max77686.c