diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-01-11 03:10:44 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-11 04:30:52 +0400 |
commit | 5f85d20d04cdc4c6ed15022a5ed76907ad88d4ae (patch) | |
tree | 5f470974850b61582320c4ba5a47a17337b97874 /drivers/rtc/rtc-pcf2123.c | |
parent | 2d65943e55bdd538640d0908bc9f3ead138b0431 (diff) | |
download | linux-5f85d20d04cdc4c6ed15022a5ed76907ad88d4ae.tar.xz |
drivers/rtc/rtc-wm831x.c: convert to devm_kzalloc()
Marginally less code and eliminate the possibility of memory leaks.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-pcf2123.c')
0 files changed, 0 insertions, 0 deletions