diff options
author | Sangjung Woo <sangjung.woo@samsung.com> | 2013-11-13 00:11:02 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-13 04:09:31 +0100 |
commit | 58c181c8255b8f23c5772b4c4d2328450a95081f (patch) | |
tree | 11e81d53df4782cdf7002853d21cdf918c1deb6f /drivers/rtc/rtc-tps65910.c | |
parent | drivers/rtc/rtc-puv3.c: use dev_dbg() instead of pr_debug() (diff) | |
download | linux-58c181c8255b8f23c5772b4c4d2328450a95081f.tar.xz linux-58c181c8255b8f23c5772b4c4d2328450a95081f.zip |
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 <sangjung.woo@samsung.com>
Cc: Joe Perches <joe@perches.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions