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