diff options
author | Fabian Schindlatz <fabian.schindlatz@fau.de> | 2019-07-01 23:57:13 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2019-07-06 13:30:51 +0300 |
commit | 6322f377bc4a0e3dac040c1c6d01761514f42187 (patch) | |
tree | 33d8569029e31fce567f5221492a1611677e96ef /drivers/bluetooth/bpa10x.c | |
parent | a2e02f38eff84f199c8e32359eb213f81f270047 (diff) | |
download | linux-6322f377bc4a0e3dac040c1c6d01761514f42187.tar.xz |
Bluetooth: hci_ll: Refactor download_firmware
Extract the new function send_command_from_firmware from
download_firmware, which helps with the readability of the switch
statement. This way the code is less deeply nested and also no longer
exceeds the 80 character limit.
Co-developed-by: Thomas Röthenbacher <thomas.roethenbacher@fau.de>
Signed-off-by: Thomas Röthenbacher <thomas.roethenbacher@fau.de>
Signed-off-by: Fabian Schindlatz <fabian.schindlatz@fau.de>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/bpa10x.c')
0 files changed, 0 insertions, 0 deletions