commit | 5f85d20d04cdc4c6ed15022a5ed76907ad88d4ae | [log] [tgz] |
---|---|---|
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | Tue Jan 10 15:10:44 2012 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Jan 10 16:30:52 2012 -0800 |
tree | 5f470974850b61582320c4ba5a47a17337b97874 | |
parent | 2d65943e55bdd538640d0908bc9f3ead138b0431 [diff] |
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>