summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/freescale
diff options
context:
space:
mode:
authorFabian Schindlatz <fabian.schindlatz@fau.de>2019-07-01 23:57:13 +0300
committerMarcel Holtmann <marcel@holtmann.org>2019-07-06 13:30:51 +0300
commit6322f377bc4a0e3dac040c1c6d01761514f42187 (patch)
tree33d8569029e31fce567f5221492a1611677e96ef /drivers/pinctrl/freescale
parenta2e02f38eff84f199c8e32359eb213f81f270047 (diff)
downloadlinux-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/pinctrl/freescale')
0 files changed, 0 insertions, 0 deletions