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