[PATCH] wireless: wlcore: Use devm_kzalloc

2014-08-07 Thread Himangi Saraogi
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 Acked-by: Julia Lawall ---

[PATCH] wireless: wlcore: Use devm_kzalloc

2014-08-07 Thread Himangi Saraogi
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 himangi...@gmail.com Acked-by: Julia Lawall