[PATCH 00/11] Use devm_kzalloc in bluetooth drivers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux