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