]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/rtc/rtc-max77686.c: use devm_kzalloc()
authorJingoo Han <jg1.han@samsung.com>
Wed, 20 Mar 2013 04:07:53 +0000 (15:07 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 22 Mar 2013 04:33:30 +0000 (15:33 +1100)
commit439a708178aa1c1c16ceff34c4ebc9bba239199d
tree8ccad4434cc7f7c0a15586e4a4d91af2cf8875c7
parentd5aaca342c25efbb5207e66f5ee6bf5d613304a4
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>
drivers/rtc/rtc-max77686.c