Bluetooth: btbcm: Remove duplicate code from btbcm_setup_patchram()
authorHans de Goede <hdegoede@redhat.com>
Fri, 20 Apr 2018 12:44:06 +0000 (14:44 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 18 May 2018 04:37:51 +0000 (06:37 +0200)
commit59ce5699be6d4bc6f24e337c52418b509d64063f
tree357429d0c18b8db3832188ee6cd560b68e600fc9
parent22ac191652cc73a390c60c1e0faafae53031d9f6
Bluetooth: btbcm: Remove duplicate code from btbcm_setup_patchram()

btbcm_setup_patchram() starts with initializing the controller (and
getting the firmware filename) and then after loading the firmware,
does a re-init. This almost entirely duplicates the code in
btbcm_initialize(), use that function instead.

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