Bluetooth: btusb: Add helper for READ_LOCAL_VERSION command
authorDaniel Drake <drake@endlessm.com>
Tue, 24 Feb 2015 00:16:47 +0000 (18:16 -0600)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 13 Mar 2015 10:47:48 +0000 (12:47 +0200)
Multiple codepaths duplicate some simple code to read and
sanity-check local version information. Before I add a couple more
such codepaths, add a helper to reduce duplication.

Signed-off-by: Daniel Drake <drake@endlessm.com>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
drivers/bluetooth/btusb.c

Simple merge