Bluetooth: hci_bcm: Switch to devm_acpi_dev_add_driver_gpios()
commitfda7057f4b5356d40d321f339f4ac6b3f94076ec
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 6 Jun 2017 14:47:17 +0000 (6 17:47 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 9 Jun 2017 16:45:48 +0000 (9 18:45 +0200)
treec8c0fc707dfcb336c720522cff6207941f029735
parentb73f22695f4445114bd354df19ef84201ead22fe
Bluetooth: hci_bcm: Switch to devm_acpi_dev_add_driver_gpios()

Switch to use managed variant of acpi_dev_add_driver_gpios() to simplify
error path and fix potentially wrong assingment if ->probe() fails.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_bcm.c