Bluetooth: hci_bcm: Add (runtime)pm support to the serdev driver
authorHans de Goede <hdegoede@redhat.com>
Wed, 4 Oct 2017 18:43:43 +0000 (20:43 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 6 Oct 2017 18:35:48 +0000 (20:35 +0200)
commit8a92056837fd5168fce730c5e21eaf3af7cf0b16
treee2bd26ca94d5232320b9fc15914dc2d53cb023d0
parent78277d73714a1381a80d96de68074c9503b2c014
Bluetooth: hci_bcm: Add (runtime)pm support to the serdev driver

Make the serdev driver use struct bcm_device as its driver data and share
all the pm / GPIO / IRQ related code paths with the platform driver.

After this commit the 2 drivers are in essence the same and the serdev
driver interface can be used for all ACPI enumerated HCI UARTs.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_bcm.c