]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Bluetooth: Use devm_kzalloc in bfusb.c file
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 27 Jul 2012 07:08:32 +0000 (12:38 +0530)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Mon, 6 Aug 2012 18:03:00 +0000 (15:03 -0300)
commit0213cd8d5ed9cee1d7ffd95566319af1bb36a604
tree6da2a3724414ba194ca787679739f0a0ee078298
parent9357cc60789cfdcbbeeff85d9c423a91d621ae1f
Bluetooth: Use devm_kzalloc in bfusb.c file

devm_kzalloc() eliminates the need to free memory explicitly
thereby saving some cleanup code.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
drivers/bluetooth/bfusb.c