]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: hci_bcm: Do not test ACPI companion in bcm_acpi_probe()
authorJarkko Nikula <jarkko.nikula@linux.intel.com>
Wed, 30 Sep 2015 13:26:45 +0000 (16:26 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 1 Oct 2015 08:03:38 +0000 (10:03 +0200)
commit92d983813a278bbd2df52d53f56b3ef371334ff2
treee83576efcfeeb5ee15a5451b51616c670d3144d0
parentb69455efab5d074a886f1eadb49a61cc505003b2
Bluetooth: hci_bcm: Do not test ACPI companion in bcm_acpi_probe()

This device has always ACPI companion because driver supports only ACPI
enumeration. Therefore there is no need to test it in bcm_acpi_probe() and
we can pass it directly to acpi_dev_get_resources() (which will return
-EINVAL in case of NULL argument is passed).

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_bcm.c