]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
Bluetooth: Use devm_kzalloc in bcm203x.c file.
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 27 Jul 2012 07:08:31 +0000 (12:38 +0530)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Mon, 6 Aug 2012 18:03:00 +0000 (15:03 -0300)
commit9357cc60789cfdcbbeeff85d9c423a91d621ae1f
treeff8a112855c9acaa0c38526fb145d80258496687
parentde9b9212c7fd3e87608194f1c73fc06cd6cc7dfb
Bluetooth: Use devm_kzalloc in bcm203x.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/bcm203x.c