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