diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-01-10 15:10:44 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-10 16:30:52 -0800 |
commit | 5f85d20d04cdc4c6ed15022a5ed76907ad88d4ae (patch) | |
tree | 5f470974850b61582320c4ba5a47a17337b97874 /drivers/rtc/rtc-sa1100.c | |
parent | 2d65943e55bdd538640d0908bc9f3ead138b0431 (diff) | |
download | talos-op-linux-5f85d20d04cdc4c6ed15022a5ed76907ad88d4ae.tar.gz talos-op-linux-5f85d20d04cdc4c6ed15022a5ed76907ad88d4ae.zip |
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-sa1100.c')
0 files changed, 0 insertions, 0 deletions