commit | f7328381bf64137e958d9fd0e070752d1366e91b | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Fri Apr 20 14:44:03 2018 +0200 |
committer | Marcel Holtmann <marcel@holtmann.org> | Fri May 18 06:37:51 2018 +0200 |
tree | 818ae7e84cba515a484a2bd4a0ad85cbdcd9a311 | |
parent | 1b2525c05bf9c661f6631e598b3bef5ce810085a [diff] |
Bluetooth: btbcm: Factor out common code to determine subversion We are using the same loop in both the UART and USB bus cases, refactor things a bit to share the loop. This is mostly meant to improve readability. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>