wireless: wlcore: Use devm_kzalloc
authorHimangi Saraogi <himangi774@gmail.com>
Thu, 7 Aug 2014 11:02:45 +0000 (16:32 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 25 Aug 2014 20:17:39 +0000 (16:17 -0400)
This patch introduces the use of devm_kzalloc and does away with the
kfrees in the probe and remove functions. Also, a couple of labels and
the initial assignment of the ret variable in the probe function are
removed.

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>

No differences found