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)
commite98d6d6203552ebd1e80ac17de857547efa37fba
treee83576efcfeeb5ee15a5451b51616c670d3144d0
parent4d1c4558028ff0b7dbc1e24c319f478658f0620d
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