diff options
author | Sangjung Woo <[email protected]> | 2013-11-12 15:11:02 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2013-11-13 12:09:31 +0900 |
commit | 58c181c8255b8f23c5772b4c4d2328450a95081f (patch) | |
tree | 11e81d53df4782cdf7002853d21cdf918c1deb6f /lib/test-string_helpers.c | |
parent | 1fbc4c4d79e63709b919bc1a72e991c29ea13f4c (diff) |
drivers/rtc/rtc-pl030.c: use devm_kzalloc() instead of kmalloc()
In order to be free automatically and make the cleanup paths more simple,
use devm_kzalloc() instead of kmalloc().
Signed-off-by: Sangjung Woo <[email protected]>
Cc: Joe Perches <[email protected]>
Cc: Alessandro Zummo <[email protected]>
Cc: Russell King <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions