]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Use devm_kzalloc in bluecard_cs.c file
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 27 Jul 2012 07:08:33 +0000 (12:38 +0530)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Mon, 6 Aug 2012 18:03:00 +0000 (15:03 -0300)
commitfa6e0d5db30d31be49b441d00b1dcecbe504fe35
treeef9be4841f06e885e4f0c3c7092c27ef8f8f3e46
parent7360cb26a87f2a81f8f7a12d0224ae9ee9b39854
Bluetooth: Use devm_kzalloc in bluecard_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/bluecard_cs.c