commit | 9268834b60c0b08101c7a8522b6901cf4cd57a14 | [log] [tgz] |
---|---|---|
author | Tedd Ho-Jeong An <tedd.an@intel.com> | Mon Mar 06 15:38:26 2017 -0800 |
committer | Marcel Holtmann <marcel@holtmann.org> | Wed Apr 12 22:02:37 2017 +0200 |
tree | 8c71b035f8282ca8e08de3fac3ff989ebb24cd81 | |
parent | d8edd9ed156a1a840f1b1c2dbbf458684d6eea6e [diff] |
Bluetooth: Use switch statement for Intel hardware variants Multiple new hardware variants are planned and the simple if statement would get really complicated and unreadable. So instead replace it with a simple switch statement. The change is applied to both USB and UART. Based-on-patch-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Tedd Ho-Jeong An <tedd.an@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>