Bluetooth: Use devm_kzalloc in btusb.c file
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 27 Jul 2012 07:08:39 +0000 (12:38 +0530)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Mon, 6 Aug 2012 18:03:02 +0000 (15:03 -0300)
commit98921dbd00c4e2e4bdd56423cb5edf98d57b45f7
treee16d6911125fa785fc3406bdd0e12cf15a9e663f
parentfdefa118ebbcadad4adbaaab067be06a96a48e15
Bluetooth: Use devm_kzalloc in btusb.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/btusb.c