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