Bluetooth: btbcm: Consolidate the controller information commands
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 17 Aug 2017 09:02:40 +0000 (11:02 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 17 Aug 2017 09:11:24 +0000 (12:11 +0300)
commite76dc1dd0065a6bc6fbda062b96d6df817a21c1c
treefe91cd8de2b35b62f4ef8d06bd7bd742efc06582
parent74183a1c50a3c61e62d2e585107ea3c0b942a3ff
Bluetooth: btbcm: Consolidate the controller information commands

The commands that read the basic vendor information about the Broadcom
controller are duplicated for UART and USB devices. Combine them into a
single function to reduce the code complexity.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
drivers/bluetooth/btbcm.c