summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-ds1742.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-01-10 15:10:44 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2012-01-10 16:30:52 -0800
commit5f85d20d04cdc4c6ed15022a5ed76907ad88d4ae (patch)
tree5f470974850b61582320c4ba5a47a17337b97874 /drivers/rtc/rtc-ds1742.c
parent2d65943e55bdd538640d0908bc9f3ead138b0431 (diff)
downloadblackbird-op-linux-5f85d20d04cdc4c6ed15022a5ed76907ad88d4ae.tar.gz
blackbird-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-ds1742.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud