]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8498fc94d1620e1b163d6ae728907126f83aaeb9
treeee3cc80815cfd0447be9913d495e2d4b8af008be
parent825cce889d7659c6bc686356d1c36860788b6103
wireless: wlcore: Use devm_kzalloc

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>
drivers/net/wireless/ti/wlcore/spi.c