]> 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)
commitda86265c65a8648a50b02ef31f1ed785902f1001
treeebfb93a7fb09f805b97d23fdfb1d1e62ead57d63
parent66db3a676748360fd96d2f4b6e8bd10bc38661eb
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