Return-Path: From: Sachin Kamat To: linux-bluetooth@vger.kernel.org Cc: marcel@holtmann.org, gustavo@padovan.org, johan.hedberg@gmail.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 00/11] Use devm_kzalloc in bluetooth drivers Date: Fri, 27 Jul 2012 12:38:30 +0530 Message-Id: <1343372921-18780-1-git-send-email-sachin.kamat@linaro.org> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: devm_kzalloc() is a device managed function which eliminates the need to free memory explicitly thereby saving some cleanup code and making the exit code simpler. This series is based on the following tree and is compile tested. git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git Sachin Kamat (11): Bluetooth: Use devm_kzalloc in bcm203x.c file. Bluetooth: Use devm_kzalloc in bfusb.c file Bluetooth: Use devm_kzalloc in bluecard_cs.c file Bluetooth: Use devm_kzalloc in bpa10x.c file Bluetooth: Use devm_kzalloc in bt3c_cs.c file Bluetooth: Use devm_kzalloc in btmrvl_sdio.c file Bluetooth: Use devm_kzalloc in btsdio.c file Bluetooth: Use devm_kzalloc in btuart_cs.c file Bluetooth: Use devm_kzalloc in btusb.c file Bluetooth: Use devm_kzalloc in btwilink.c file Bluetooth: Use devm_kzalloc in dtl1_cs.c file drivers/bluetooth/bcm203x.c | 8 +------- drivers/bluetooth/bfusb.c | 12 ++++-------- drivers/bluetooth/bluecard_cs.c | 5 +---- drivers/bluetooth/bpa10x.c | 8 ++------ drivers/bluetooth/bt3c_cs.c | 5 +---- drivers/bluetooth/btmrvl_sdio.c | 15 ++++----------- drivers/bluetooth/btsdio.c | 8 ++------ drivers/bluetooth/btuart_cs.c | 5 +---- drivers/bluetooth/btusb.c | 13 +++---------- drivers/bluetooth/btwilink.c | 8 ++------ drivers/bluetooth/dtl1_cs.c | 3 +-- 11 files changed, 22 insertions(+), 68 deletions(-) -- 1.7.4.1