]> git.baikalelectronics.ru Git - kernel.git/commit
cw1200: Introduce the use of devm_kzalloc
authorHimangi Saraogi <himangi774@gmail.com>
Sat, 2 Aug 2014 14:52:46 +0000 (20:22 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 25 Aug 2014 20:00:43 +0000 (16:00 -0400)
commit21f861e8575cde61cc96fcddac4526726d0925e3
treeebfb93a7fb09f805b97d23fdfb1d1e62ead57d63
parent3c87254d3a51947dbeb742c6e85e25aece4057fd
cw1200: Introduce the use of devm_kzalloc

This patch introduces the use of devm_kzalloc and does away with the
kfrees in the probe and remove functions.

Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/cw1200/cw1200_spi.c